Specifications

Programmers Guide TH230/TH230+
158
GS \
Function: Set relative vertical print position in page mode
Code ASCII: GS \ n
L
n
H
Code HEX:
0x1D 0x5C n
L
n
H
Range: 32768 ≤ (n
L
+ n
H
× 256) ≤ 32767 (0 ≤ n
L
≤ 255, - 128 ≤ n
H
≤ 127)
Default:
None
Description:
In page mode, moves the vertical printing position to (n
L
+ n
H
× 256) ×
(vertical or horizontal motion unit) from the current position.
Notes:
This command is enabled only in page mode. If this command is
processed in standard mode, it is ignored.
The printer ignores any setting that exceeds the printing area set
by ESC W.
A positive number specifies movement to the downward, and a negative
number specifies movement to the upward. N pitch movement to the
downward: (n
L
+ n
H
× 256) = N. Use the complement of N for setting N
pitch movement to the upward: (n
L
+ n
H
× 256) = 65536 N.
The horizontal or vertical motion unit is used for the print direction set
by ESC T.
• When the starting position is set to the upper left or lower right of the
printing area using ESC T, the vertical motion unit is used.
• When the starting position is set to the upper right or lower left of the
printing area using ESC T, the horizontal motion unit is used.
Even if vertical or horizontal motion unit is changed after changing the
printing position, the setting of printing position will not be changed.
The vertical or horizontal motion unit is specified by GS P.