The importantdifferenceaboutmovingverticallyup or down is what the printerdoes when the printpositionhits the page top or bottom.If you try to move abovethe top margin,the print positionstaysright at the margin. Andif youmovetheprintpositiondownoffthepage,thepageisejectedand printingcontinueson the next page.
Vertical moves: by lines, decipoints and dots
To move the print positionverticallya certain numberof lines, send the command:
<ESC>&a n R
in which for n you enter the numberof lines you wish to move the print position.Sotomoveto line45,measuredfromthctopedgcofthe page,you send the command:
<ESC>&a 45R
But to move45 linesdown from the currentprint position,you send:
<ESC>&a +45C
To movetheprintpositionverticallya certainnumbcrofdecipoints,sendthe command:
<ESC>&a n V
in whichfor n youenterthenumberof dccipointsyouwishto movetheprint positiondown(orprecedethenumberwitha + or– signif you wantto move up or down from the currentposition).
Finally,youcanmovea numberof dotsdownfromthetopedgeof thepage, or youcanmovea numberofdotsupordownfromthecurrentprintposition. To movetheprintpositionupordownanabsoluteor relativenumberofdots, send the command:
<ESC> *p n Y
in whichfor n youputeithcrtheabsolutenumberof dotsdown,or (preccdcd by a + or – sign) the relativenumberof dots up or down from the current position.
So to move20 dots down you send the command:
<ESC>*p 20Y
65