CONFIDENTIAL
SHEET
151
NO.
SHEET
REVISION
E
TITLE
TM-H5000
II
IIII
II
series
Specification
(STANDARD)
NEXT
152
GS ( A
p
L
p
H
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] (
p
L
+(
p
H
´256))=2 (where
p
L
=2,
p
H
=0)
0 £
n
£ 4, 48 £
n
£ 52
1 £
m
£ 3, 49 £
m
£ 51
[Description] · Executes a test print with a specified test pattern on a specified paper.
·
p
L
and
p
H
specifies the number of the parameter such as
n
,
m
to (
p
L
+ (
p
H
´
256)) bytes.
n
specifies the paper to be tested.
n
Paper
0, 48 Basic sheet (paper roll)
1, 49
2, 50
Paper roll
3, 51
4, 52
Slip
m
specifies a test pattern.
m
Test pattern
1, 49 Hexadecimal dump
2, 50 Printer status print
3, 51 Rolling pattern print
[Description] · This command is enabled only when processed at the beginning of a line in
standard mode.
· This command is no effect in page mode.
· When this command is received during macro definition, the printer ends macro
definition and begins performing this command.
· After the test print is finished, the printer resets itself automatically. Therefore,
the already-defined data before this command is executed, such as an user-
defined characters, downloaded bit image, and macro, becomes undefined,
and the receive buffer and print buffer are cleared, and each setting returns to
the default value. The printer also re-reads the DIP switch settings .
· At the end of the test print, the printer cuts the paper, or ejects the cut sheet
when the cut sheet is selected.
· When the cut sheet is selected, this command is executed after the ejection of
the paper if the paper is ejected currently.
· The printer goes BUSY while this command is executed.