User`s manual
59
MP-4200 TH Programmer’s Manual - Revision 1.0
GS ( A pL pH n m
[Function] Executetestprint.
[Format] ASCII GS(Ap
L
p
H
n m
Hexadecimal 1D2841p
L
p
H
n m
Decimal 294065p
L
p
H
n m
[Range] (p
L
+(p
H
×256))=2(p
L
=2,p
H
=0)
0≤n≤2,48≤n≤50
1≤m≤3,49≤m≤51
[Description] •Executesatestprintwithaspecifiedtestpatternonaspecifiedpaper.
•pLandpHspecifiesthenumberoftheparametersuchasn,mto(p
L
+(p
H
×256))bytes.
n specifies the paper to be tested.
n Paper
0, 48 Paper roll.
1,49
2, 50
m specifies a test pattern.
m Test Pattern
1,49 Hexadecimal dump.
2, 50 Printer status print.
3,51 Rolling pattern print.
[Details] •Thiscommandisenabledonlywhenprocessedatthebeginningofaline.
•Whenthiscommandisreceivedduringmacrodefinition,theprinterendsmacrodefinitionand
begins executing this command.
• After test print isfinished,theprinter resetsitself automatically. Therefore,thealready-
defined data before this command is executed, such as user-defined characters, downloaded bit
image, and macro, becomes undefined, the receive buffer and print buffer are cleared, and each
setting returns to its default value.
•Theprintercutsthepaperattheendofthetestprint.
•TheprintergoesBUSYwhilethiscommandisbeingexecuted.
GS ( D p
L
p
H
m [a
1
b
1
] ... [a
k
b
k
]
[Function] Enable/disablereal-timecommand.
[Format] ASCII GS(Dp
L
p
H
m [a
1
b
1
] ... [a
k
b
k
]
Hexadecimal 1D2844p
L
p
H
m [a
1
b
1
] ... [a
k
b
k
]
Decimal 294068pLpHm[a
1
b
1
] ... [a
k
b
k
]
[Range] (p
L
+p
H
×256)=3,5(p
L
=3,5;p
H
=0)
m=20
a=1,2
b=0,1,48,49
[Default]
a Real-time command type Default
1 DLEDC4ƒ
n
m t (ƒ
n
=1):Generatepulseinreal-time Enabled(b=1)
2 DLEDC4ƒ
n
a b (ƒ
n
=2):Executepower-offsequence Disabled(b=0)