Specifications

Programmers Guide TH230/TH230+
66
ESC \
Function:
Set relative print position
Code ASCII: ESC \ n
L
n
H
Code HEX: 0x1B 0x5C n
L
n
H
Range:
-32768 (n
L
+ n
H
* 256) 32767 (0n
L
≤ 255, 128 ≤ n
H
≤ 127)
Default: None
Description:
Moves the print starting position to (n
L
+ n
H
* 256) × (horizontal or vertical
motion unit) from the current position.
Notes:
The printer ignores any setting that exceeds the printing area.
A positive number specifies movement to the right, and a negative
number specifies movement to the left. N pitch movement to the right:
(n
L
+ n
H
* 256) = N. Use the complement of N for setting N pitch
movement to the left: (n
L
+ n
H
* 256) = 65536 N.
When standard mode is selected, the horizontal motion unit is used.
When page mode is selected, 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 horizontal 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 vertical motion unit is used.
Even if the vertical or horizontal motion unit is changed after changing
the printing position, the setting of the printing position will not be
changed.
When underline mode is turned on, the underline will not be printed
under the space skipped by this command.
The vertical or horizontal motion unit is specified by GS P.
After command, printer is not at start of line, independent from given
value (n
L
+ n
H
× 256)