5.4.7 Left-to-rightprinting
The
we problemwithbidirectionalprintingis thattheprintheadcan getslightly out of alignment. When you’re using more primitive took sometimes accuracymattersmorethan speed,so a commandfor plainold
The followingcommanddoesnothingto improvethe accuracyof yourStar LaserPrinter4, but it’s included for software compatibility’ssake. The commandjust movestheprintpositionto theleftmargin,actingasacarriage Mum withouta line feed. Normalprintingresumeswith the next carriage return.
To turn on
<ESC><
5.4.8 Movinghorizontallyfrom the left margin
Two horizontalmotion commandssend the print positionto a particular positionon the line. Thesecommandsare basedon
Onemovecommandis an“absolute”move,to therightfromtheleftmargin. The other is a “relative”move,left or right fromthe currentprintposition.
To move from the left margin in incrementsof 1/60 inch, you send this command:
<ESC>$ d n2
Atthebeginningofthechapterwesaidsomecommandvariables,likenl and n2 here, could representbytes to be added together.This is one of those commands.The nl representsunits and n2
101