PTD55 SERIES OPERATION MANUAL
GS
( A
pL
pH
n
m
[Name]
Execute test print
[Format]
ASCII
GS
(
A
pL
pH
n
m
Hex
1D
28
41
pL
pH
n
m
Decimal
29
40
65
pL
pH
n
m
[Range]
(
pL
+ (
pH
x 256)) = 2 (where
pL
= <02>H,
pH
= <00>H)
<00>H
≤
n
≤
<02>H, <30>H
≤
n
≤
<32>H
<01>H
≤
n
≤
<03>H, <31>H
≤
m
≤
<33>H
[Description]
●
Executes a test print with a specified test pattern on a specified paper.
●
pL
,
ph
specifies (
pL
+(
ph
x256)) for the number of the bytes after
ph
(
n
and
m
).
●
n
specifies the paper to be tested.
n
Paper
<00> / <30>H
<01> / <31>H
<02> / <32>H
Paper roll
•
m
specifies a test pattern.
m
Test pattern
<01> / <31>H
Hexadecimal dump
<02> / <32>H
Printer status print
<03> / <33>H
Rolling pattern print
[Notes]
●
This command has enabled only when processed at the beginning of a line.
●
After the test print is finished, the printer resets itself automatically. Therefore, data
already defined before this command is executed, such as user-defined buffer and
print buffer are cleared; and each setting returns to the default value.
●
The printer cuts the paper at the end of the test print.
G
S
( C
pL
pH
NULL 6 NULL C L R
[Name]
Erase all logos
[Format]
ASCII
GS (
C
pL
pH
NULL
6
NULL C
L
R
Hex
1D
28
43
pL
pH
00
36
00
43
4C
52
Decimal
29
40
67
pL
pH
00
54
00
67
76
82
[Range]
pL
= <06>H (fixed),
pH
= <00>H (fixed)
[Description]
Erases all logos stored in non-volatile memory.
[Reference]
FS p, FS q commands.
GS
( G n
L
n
H
m
L
m
H
[Name]
Set ticket length and cut offset related to black mark
[Format]
ASCII
GS
(
G
nL
nH mL
mH
Hex
1D
28
47
nL
nH mL
mH
[Range]
0
≤
(
nL
+
nH
x 256)
≤
65535
0
≤
(
mL
+
mH
x 256)
≤
65535
(where <00>H
≤
nL
,
nH
,
mL
and
mH
≤
<FF>H)
[Description]
(
nL
+
nH
x 256) specifies the total ticket length in dots (0.125 mm) and (
mL
+
mH
x
256) sets the offset distance, also in dots, between the top of the black mark and the
next cutting line of the ticket in the paper feed direction (see section
BLACK MARK
SENSOR
).
[Notes]
●
Normally, the first ticket printed after powering up the printer must be discarded as it
will have different length that the following ones.
●
This command takes into account the distance from the black mark sensor and the
cutter blade which is fixed in a particular assembly. For this reason, this distance
must be kept if a different implementation is taken.
●
This parameters are saved in non-volatile memory.
[Default]
(
nL
+
nH
x 256)
= 800 (100mm) ; (
mL
+
mH
x 256) = 400 (50mm)
[Reference]
GS FF, GS V, ESC i, ESC m
40 of 57