Relative horizontal tab
Mode | ASCII | Decimal | Hexadecimal |
Std. | <ESC> ‘Y” nl &! | 27 92 nl n2 | 1B 5C nl n2 |
Movestheprintpositionrightorlefta specifieddistance(maximum 8 inches).Ignoredif theresultingpositionis beyondtherightor left margin.The formulasfor the distanceand directionare as follows: If n2 is betweenOand 63,the printheadmovesrightby (nl + n2 x 256) dots.
If youwantto movetheprintheadto theleft, nl andn2 areobtained by subtractingthe value from 65536,and dividingthe result into high and low bytes.
Relative horizontal tab in inches
Mode | ASCII |
| Decimal | Hexadecimal |
IBM | <ESC> “d” nl | n2 | 27100 td n2 | IB 64 nl n2 |
Sets the next printpositionto (nl +n2 x 256)/120inchesfrom the currentposition.
Ignoredif this positionis beyondthe rightmargin.The maximum positionis 8 inches.
Absolute ,horizontal tab in inches
Mode | ASCII | Decimal | Hexadecimal |
Std. | <ESC> “$” nl n2 | 27 36 nl n2 | IB 24 d n2 |
Setsthe nextprintpositionto (nl + n2x 256)/60inchesfromthelefi margin on the currentline. Ignoredif this positionis beyondthe rightmargin.The maximumpositionis 8 inches.
Absolute horizontal tab in columns
/Mode I ASCII |
|
|
| Decimal |
| Hexadecimal I | ||||
<ESC> | “f’ | “O” | n | 27 102 | 48 | n | IB | 66 | 30 | n |
Std. | “f’ | <O> | n | 27 102 | 0 | n | IB | 66 | 00 | n |
<ESC> |
Moves the next print positionto column n from the left margin, wheren is betweenOand 127.
72