
19
The horizontal and vertical motion unit are specified by
GS P
. Changing the
horizontal or vertical motion unit does not affect the current printing area.
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 minimum horizontal movement amount.
Use the horizontal motion unit ( x) for setting the horizontal starting position and
printing area width, and use the vertical motion unit ( y) for setting the vertical
starting position and printing area height.
When the horizontal starting position , vertical starting position, printing area
width, and printing area height are defined as X, Y, Dx, and Dy respectively, the
printing area is set as shown in the figure below.
This printable area for this printer is approximately 73 mm in the horizontal
direction and approximately 150mm in the vertical direction.
[Default]
xL = xH = yL = yH = 0
dxL = 72, dxH = 2, dyL = 176, dyH = 4
[Reference]
CAN
,
ESC L
,
ESC T
,
GS P
32. ESC \ nL nH
[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]
Sets the print starting position based on the current position by using the
horizontal or vertical motion unit.
•
This command sets the distance from the current position to [(
nL + nH
╳
256)
╳
horizontal or vertical motion unit]
[Details]
•
Any setting that exceeds the printable area is ignored.
•
When pitch N is specified to the right:
nL+ nH
╳
256
= N