Star Micronics 8 Series Printer User Manual


 
I
Tocompletethecommand,forn2 youenterthenumberoffullgroupsof256
increments you want to move. And for n] you enter the number of
incrementsleftover.
Confused?Here’san example.Thiscommand:
<ESC>$141
moves14+(256x 1)=270 incrementsfromtheleftmargin.Thatworksout
to 270/60inches,whichis fouranda halfinches.
Moving horizontally from the current position
Theotherhorizontalmovecommand,whichmovesawayfromthecurrent
printposition,comesinsmallerincrementsof 1/120inch.Tomovethisway,
firstdecidewhetheryouwanttomoverightor left,and’byhowmany1/120
inchincrements.Then sendthiscommand:
<ESC>\ nl n2
To moveright,n] +(n2 x 256)mustequalthe numberof incrementsyou
wantto move.For example,to moverighttwo and a halfinches(300/120
inches)you sendthiscommand:
<ESC>\ 44 1
because44+ (1 x 256)= 300.
To moveleft is a littletrickier.You firstsubtractyourdesirednumberof
incrementsfrom 65536 (which is 256 x 256). Then you usc the same
formula:nl + (n2x 256)mustequalthatnxultingnumber.So to moveleft
three(360/120)inchesyousend thiscommand:
<ESC>\ 152 254
Thatcommandmovestheprintpositionleftthreeinchesbccausc
65536-360 = 65176
= 152+ (254
X 256)
Horizontal tabs
Whenyouusehorizontaltabsyoufirstmayhaveto setthetab stops(upto
64ofthcm).Itdependsonwhetherornotyouwanttousethedefault,which
is a tabstopeveryeightcolumns.Columnwidthdependson thehorizontal
spacingbeingusedwhenyougivethiscommand.If youchangepitchlater,
thatwon’taffecttabs.
108