v Moves the printing position the specified number of dots from the
current print position, in the direction perpendicular to the printing
direction specified by the Select printing direction/position command
(X'1B;54...'). If the print direction is bottom-to-top, or top-to-bottom, this
command adjusts the printing position in the horizontal direction.
v If the value of y is outside the specified printable area defined by the
Select printable area command, this command is ignored.
v If y is a negative value, the current print position will move in the
opposite direction.
Set left margin position (standard mode), set absolute print position
(page mode)
Syntax:
ESC $ n1 n2 or X'1B;24;n1;n2'
Where:
v n1 is the high-order byte of the dot offset from the beginning of the print
line.
v n2 is the low-order byte of the dot offset from the beginning of the print
line.
Default:
n1 =0,n2 =0
Remarks:
v In the thermal station, 1 mm = 8 dots.
v In the impact station, 1 inch = 150 half-dots (75 dots).
v n1 and n2 are hex values. Convert each to decimal, and use this formula
to get the decimal equivalent: (n1 x 256) + n2.
v The maximum value in the thermal CR station is 576. The maximum
value in the impact DI station is 474.
v In the CR station, this number is rounded back to a factor of 8.
v If the n1,n2 value exceeds the maximum, it is ignored.
v This command should be sent only after the command that selects the
station, Set print station (ESC c1 n).
v In Page mode, the printing position is moved the specified number of
dots from the beginning of the print line, in the same direction as
printing, specified by the Select printing direction/position command
(X'1B;54...'). If the print position is bottom-to-top, or top-to-bottom, this
command adjusts the print position in the vertical direction.
v This is a one-time adjustment on the current line. If this command
moves the print position outside the printable area specified by the Select
printable area command, it is ignored.
Set relative horizontal position
Syntax:
ESC <5C>h n1 n2 or X'1B;5C;n1;n2'
Where:
v n1 is the high-order byte of the dot offset, relative to the left margin in
standard mode or the current print position in page mode.
Chapter 3. Page mode printing commands 81