vMoves the printing position to the specified dot position perpendicular to
the printing direction specified by the Select printing direction command.
If printing direction is bottom-to-top, or top-to-bottom, this command
adjusts the printing position in the horizontal direction.
vIf the value of yis outside the specified printable area, this command is
ignored.
Set relative vertical position
EIA-232 Syntax:
GS\yor X'1D;5C;y'
where:
yis the two-byte vertical printing position (in dots).
Remarks:
vApplies to page mode only.
vMoves 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.
vIf the value of y is outside the specified printable area defined by the
Select printable area command, this command is ignored.
vIf 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)
EIA-232 Syntax:
ESC $ n1 n2 or X'1B;24;n1;n2'
where:
vn1 is the high-order byte of the dot offset from the beginning of the print
line.
vn2 is the low-order byte of the dot offset from the beginning of the print
line.
Default:
n1 =0,n2 =0
Remarks:
vIn the thermal station, 1 mm = 8 dots.
vIn the impact station, 1 inch = 150 half-dots (75 dots).
vn1 and n2 are hex values. Convert each to decimal, and use this formula
to get the decimal equivalent: (n1 x 256) + n2.
vThe maximum value in the thermal CR station is 576. The maximum
value in the impact DI station is 474.
vIn the CR station, this number is rounded back to a factor of 8.
vIf the n1,n2 value exceeds the maximum, it is ignored.
vThis command should be sent only after the command that selects the
station, Set print station (ESC c1 n).
vIn 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,
Updated April 2, 2009
AppendixD. EIA-232 programming information 179