
Thermal Printer Technical Manual
25
ESC \ nL nH Set relative print position
[Name]
Set relative print position
[Format]
ASCII
ESC
\
nL nH
Hex
1B
5C
nL nH
Decimal
27
92
nL nH
[Range]
0 ≤ nL ≤ 255
0 ≤ nH ≤ 255
[Description]
•
Moves the print position to [(the current position.
•
A positive number specifiesmovement to the left.
[Notes]
Any setting that exceeds the printable area is ignored.
When pitch N is specified to the right: nL+ nH × 256 = N
When pitch N is specified to the left (the negative direction), use the complement of 65536.
When pitch N is specified to the left:nL+ nH × 256 = 65536 - N
The print starting position moves from the current position to [N × horizontal or vertical motion
unit].
The horizontal and vertical motion unit are specified by GS P.
The GS P command can change the horizontal (and vertical) motion unit.
However, the value cannot be less than the minimum horizontal movement amount, and it must
be in even units of the minimum horizontal movement amount.
In standard mode, the horizontal motion unit is used.
In page mode, the horizontal or vertical motion unit differs as follows, depending on the starting
point of the printing area:
¬ When the starting position is set to the upper left or lower right of the printable area using ESC
T, the horizontal motion unit (x) is used.
- When the starting position is set to the upper right or lower left of the printable area using
ESC T, the vertical motion unit (y) is used.
[Reference]
ESC $, GS P
ESC a n Select justification
[Name]
Select justification
[Format]
ASCII
ESC a
n
Hex
1B
61
n
Decimal
27
97
n
[Range]
0 ≤ n ≤ 2, 48 ≤ n ≤ 50
[Description]
Align all the data in one line to the specified position. n selects the justification as
follows:
n
Justification
0, 48
Left justification
1, 49
Centering
2, 50
Right justification
[Notes]
The command is enabled only when processed at the beginning of the line in standard mode.
If this command is input in page mode, the printer performs only internal flag operations.
This command has no effect in page mode.