B.2.4
Print Position
S ESC % 3 n1 n2 :
S ESC % 4 n1 n2 :
S ESC % 5 n :
S ESC % 8 n :
ESC % 3 n1 n2
This command code causes the presentation position to move (n1 * 256 + n2)/180 inches
to the right.
Hex
(1B 25 33 n1 n2)H
Decimal
(27 37 51 n1 n2)D
Octal
(33 45 63 n1 n2)O
(n1 * 256 + n2)/180 > 0;
ESC % 4 n1 n2
This command code causes the presentation position to move (n1 * 256 + n2)/180 inches
to the left.
Hex
(1B 25 34 n1 n2)H
Decimal
(27 37 52 n1 n2)D
Octal
(33 45 64 n1 n2)O
(n1 * 256 + n2)/180 > 0;
If current print position - (n1 * 256 + n2)/180 < left margin then the
Note:
presentation position is specified to left margin.
ESC % 5 n
This command code causes the current characters in print buffer to print and moves the
presentation position forward n/120 inch.
Hex
(1B 25 35 n)H
Decimal
(27 37 53 n)D
Octal
(33 45 65 n)O
Forward horizontal skip
Backward horizontal skip
Forward vertical skip
Backward vertical skip
right margin - (n1 * 256 + n2)/180 > left margin
(n1 * 256 + n2)/180 < right margin
Appendix B OKI-Emulation Commands
Forward Horizontal Skip
Backward Horizontal Skip
Forward Vertical Skip
B-11