A SERVICE OF

logo

Commands 5-23
[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.
GS \
n
L
n
H
[Name] Set relative vertical print position in page mode
[Format] ASCII GS \
n
L
n
H
Hex 1D 5C
n
L
n
H
Decimal 29 92
n
L
n
H
[Range] 0
n
L
255
0
n
H
255
[Description] Sets the relative vertical print starting position from the current
position in page mode.
This command sets the distance from the current position to
[(
n
L
+
n
H
×
256)
×
vertical or horizontal motion unit] inches.
GS ^
r t m
[Name] Execute macro
[Format] ASCII GS ^
r t m
Hex 1D 5E
r t m
Decimal 29 94
r t m
[Range] 0
r
255
0
t
255
m
= 0, 1
[Description] Executes a macro.
r
specifies the number of times to execute the macro.
t
specifies the waiting time for executing the macro.
The waiting time is
t
×
100 msec for every macro execution.
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)