Specifications
Confidential
SHEET
154
NO.
SHEET
REVISION
I
TITLE
TM-H5000II
IIII
II series
Specification
(STANDARD)
NEXT
155
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+(pH
×256))=2 (where p
L=2, pH=0)
0 ≤ n ≤ 4, 48 ≤ n ≤ 52
1 ≤ m ≤ 3, 49 ≤ m ≤ 51
[Description] • Executes a test print with a specified test pattern on the specified paper.
• p
L
and p
H
specifies the number of parameters such as n, m as (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
[Details] • This command is enabled only when processed at the beginning of a line in
standard mode.
• This command has 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 cut sheet is selected.
• When cut sheet is selected, this command is executed after the ejection of the
paper if the paper.
• The printer goes BUSY while this command is executed.