I
Andto move20 dotsup yousend:
<ESC>*p–20Y
Combining move commands
Onethingaboutmovingtheprintpositionwiththeabovecommandsis that
theylet youthinkof yourpagein termsof Cartesiancoordinates.
Allwemeanisthatyoucancombinehorizontalandverticalmovementsthat
usethe sameunits.If yousendthiscommand,
<ESC>*p 40x 20Y
theprintpositionwillmovetoa spot40 dotsfromtheleft edgeof thepage
and20 dotsdownfromthetop edge.Andif yousendthisone:
<ESC>&a +40h–20V
theprintpositionwillmoveright40 decipointsandup 20 decipoints.
Backspace
TheBackspacecontrolcodeworksexactlyasyoumightexpect:itmovesthe
printpositiononecolumnto the left.
<BS>
Movingtheprintpositionbackdoesnotdestroyanycharactersalreadysent.
In fact, because of that, this commandcan be quite useful. It lets you
supcrimpow”onecharacteroveranother.
Sayyou’wantto indicateablankspaceas theletter
b witha slash/ through
it,anoldprogrammingsymbol.Justsendthe
b andthenfollowitwith<BS>
andtheslash,andyouget this:~.
Carriage return
TheCarriageRctumcommandby itselfonlymovestheprintpositionback
to theleftmarginof thelineon whichit currentlysits:
<CR>
If youwanttheprintpositionto movedowna lineas well,senda separate
Line Feed command each time, or use Define Automatic Line Ends
(explainedbelow)to couplethesetwo controlcodes.
66