LR2000 Programming Manual V1.2
The height and width data of the pattern are in dot units. The decimal values of the
height and width data are converted to ASCII character format and sent in order from
the MSB.
Example.: When the horizontal size is 120 dots, “120” is converted to 3 bytes
of data (Hex:31H, 32H, 30H, Decimal:49, 50, 48).
Other information data transmission:
Hex=30H / Decimal=48 indicates that the data is printable
Hex=31H / Decimal=49 indicates that the data is not printable
[Note] This command does not print the QR code graphics.
The quiet zone is not included in the size information.
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×256))=2 (where pL=2, pH=0)
0 n 2, 48 n 50
1 m 3, 49 m 51
[Description] Executes a test print with a specified test pattern on a specified paper.
pL and pH set the number of parameters so that (pL + (pH ×256)) bytes.
n specifies the paper to be tested.
m specifies a test pattern.