User manual

APOS KANJI User Manual Page 27 / 45
Ref : 3103039-FDE Issue A
4.1.19. ESC $
(Description) Set absolute position
(Format) <1Bh> <24h> <n1> <n2>
(Comments) Sets the print starting position to the specified number of dots (1/8 mm units)
from the beginning of the line so that the position is (n1 + n2 x 256) dots from
the left hand side, where
0 <= n2 <= 1
If n2 = 0: 0 <= n1 <= 255
If n2 = 1: 0 <= n1 <= 192
ie: 0 <= (n1 + n2 x 256) <= 576
If the position exceeds the print area, the command is ignored.
(Cross reference) ESC ¥
4.1.20. ESC ¥
(Description) Set relative position
(Format) <1Bh> <5Ch> <n1> <n2>
(Comments) Sets the print starting position to the specified number of dots (1/8 mm units)
from the current printing position, where
0 <= n2 <= 1
If n2 = 0: 0 <= n1 <= 255
If n2 = 1: 0 <= n1 <= 192
ie: 0 <= (n1 + n2 x 256) <= 576
If the position exceeds the print area, the command is ignored.
(Cross reference) ESC $
4.1.21. ESC a
(Description) Set left, centre or right justification
(Format) <1Bh> <61h> <n>
(Comments) Align the text to the specified position (left, center, right)
Align left if n=0 (default)
Align centre if n=1
Align right if n=2
This command only works at the start of a new line.
(Cross reference)