Gs ( a p, Dle dc4 n m t – Bematech MP-4000 TH Programmer's Manual User Manual
Page 61

MP-4000 TH POS Printer Rev.1.4
Programmer’s
Manual
22-aug-2007
Firmware Release: 1.5
61
GS ( A p
L
p
H
n m
[Function]
Execute test print.
[Format]
ASCII
GS
(
A
p
L
p
H
n m
Hexadecimal
1D 28 41 p
L
p
H
n m
Decimal
29 40 65 p
L
p
H
n m
[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
m specifies a test pattern:
m
Test pattern
1, 49
Hexadecimal dump
2, 50
Printer status print
3, 51
Rolling pattern print
[Details] (p
L
+ (p
H
× 256)) must be equal 2. Therefore, p
L
must be 2 and p
H
must be 0.
DLE DC4 n m t
[Function]
Generate pulse at real-time.
[Format]
ASCII
DLE
DC4
n m t
Hexadecimal
10 14 n m t
Decimal 16
20
n m t
[Description]
Outputs the pulse specified by t to connector pin m as follows:
m
Connector pin
0
Drawer kick-out connector pin 2.
1
Drawer kick-out connector pin 5.
[Details]
The pulse ON time is [t × 100 ms] and the OFF time is [t × 100 ms].
n
must be 1.