5-18 Commands
[Description] Sets the left margin using
n
L
and
n
H
in standard mode.
• The left margin is set to [(
n
L
+
n
H
×
256)
×
horizontal motion
unit)] from the beginning of the line.
GS P
x y
[Name] Set horizontal and vertical motion units
[Format] ASCII GS P
xy
Hex 1D 50
xy
Decimal 29 80
xy
[Range] 0 ≤
x
≤ 255
0 ≤
y
≤ 255
[Description] Sets the horizontal and vertical motion units to 1/
x
inch and 1/
y
inches, respectively.
When
x
and
y
are set to 0, the default setting of each value is used.
➀
GS V
m
➁ GS V
m n
[Name] Select cut mode and cut paper
[Format]
➀
ASCII GS V
m
Hex 1D 56
m
Decimal 29 86
m
➁
ASCII GS V
mn
Hex 1D 56
mn
Decimal 29 86
mn
[Range]
➀
m
= 1, 49
➁
m =
66, 0 ≤
n
≤ 255
[Description] Selects a mode for cutting paper and executes paper cutting. The
value of
m
selects the mode as follows:
GS W
n
L
n
H
[Name] Set printing area width
[Format] ASCII GS W
n
L
n
H
Hex 1D 57
n
L
n
H
Decimal 29 87
n
L
n
H
[Range] 0 ≤
n
L
≤ 255
0 ≤
n
H
≤ 255
[Description] Sets the printing area width to the area specified by
n
L
and
n
H
in
standard mode
.
•
The printing area width is set to [(
n
L
+
n
H
×
256)
×
horizontal
motion unit)] inches from the left margin.
m Print mode
1, 49 Partial cut (one point left uncut)
66
Feeds paper (cutting position + [n
×
(vertical motion unit)]), and cuts the paper
partially (one point left uncut)