Star Micronics 4 manual Movinghorizontallyfrom the currentposi- tion, Horizontaltabs

Models: 4

1 170
Download 170 pages 33.8 Kb
Page 108
Image 108

Tocompletethecommand,forn2 youenterthenumberof fullgroupsof256 inc~ments you want to move. And for nl you enter the number of incrementsleft over.

Confused?Hem’s an example.This command:

<ESC> $141

moves14+ (256x 1)=270 incrementsfromtheleftmargin.Thatworksout to 270/60inches,whichis four and a half inches.

5.4.9 Movinghorizontallyfrom the currentposi- tion

The other horizontalmovecommand,whichmovesawayfrom the current printposition,comesin smallerincrementsof 1/120inch.Tomovethisway, firstdecidewhetheryouwantto moverightor left,andby howmany 1/120 inch increments.Then send this command:

cESC>\ nl n2

To move right, nl + (n2 x 256) must equalthe numberof incrementsyou want to move. For example,to move right two and a half inches(300/120 inches)you send this command:

d3sc>\ 44 1

because44+ (1 x 256)= 300.

To move left is a little trickier. You first subtractyour desirednumberof increments from 65536 (which is 256 x 256). Then you use the same formula:nl +(n2 x 256)mustequalthat resultingnumber.So to moveleft three (360/120)inchesyou send this command:

<ESC>\ 152 254

That commandmovesthe print positionleft three inchesbecause

65536– 360 = 65176

=152+ (254X256)

5.4.10Horizontaltabs

Whenyou use horizontaltabs you firstmay have to set the tab stops(up to 64 of them).It dependson whetheror notyouwantto usethedefault,which

102

Page 108
Image 108
Star Micronics 4 manual Movinghorizontallyfrom the currentposi- tion, Horizontaltabs