Specifications

Programmers Guide TH230/TH230+
92
GS ( A
Function:
Executes test and diagnosis functions
Code ASCII: GS ( A p
L
p
H
n m
Code HEX: 0x1D 0x28 0x41 p
L
p
H
n m
Range:
(p
L
+ (p
H
× 256)) = 2 (where p
L
= 2, p
H
= 0)
0 n 255
m = 1, 2, 6, 49, 50, 54
Default:
Description: This command executes test and diagnosis functions. The function is
specified by m.
p
L
, p
H
specifies (p
L
+ (p
H
×256)) for the number of bytes after p
H
(n and
m).
n is just for command compatibility and will be ignored. The parameter
is a dummy for further extensions. That is why, printer accept all values,
but don’t use anyone of them.
m specifies the test function.
m Function
1, 49 Enter the hexadecimal dump for the
communication interface
2, 50 Print the extended seftest form
6, 54 Print a sample print
This command is effective only when processed at the beginning of the
line.
When processing the hexadecimal dump (m = 1, 49) the printer stays in
this test until the printer is switched off.
When processing the hexadecimal dump (m = 1, 49) the test button is
ignored.
The extended selftest form is the same like started by (us t) command
with additional statistic data (see 0. ).
When print test form and print sample the actual print will be changed.
This command is disabled in Page Mode.
While processing the extended selftest (m=2) and sample print (m=6), it
is recommended to wait sending next print data until the actual job is
finished.