Dle eot n – Bematech MP-4000 TH Programmer's Manual User Manual
Page 70

MP-4000 TH POS Printer Rev.1.4
Programmer’s
Manual
22-aug-2007
Firmware Release: 1.5
70
4.5. Communication
DLE EOT n
[Function]
Real-time status transmission.
[Format]
ASCII
DLE
EOT
n
Hexadecimal
10 04 n
Decimal 16
4
n
[Description]
Transmits the selected printer status specified by n in real-time,
according to the following table:
n
Action
1
Transmit printer status
2
Transmit offline status
3
Transmit error status
4
Transmit paper roll sensor status
[Details]
• The printer transmits the current status. Each status is represented
by one-byte data.
• The printer transmits the status without confirming whether the host
computer can receive data.
• The printer executes this command upon receiving it.
n = 1: Printer status
Bit Off/On Hex Decimal
Function
0
Off
00
0
Not used. Fixed to Off.
1
On
02
2
Not used. Fixed to On.
Off
00
0
Drawer open/close signal is LOW (connector pin 3).
2
On
04
4
Drawer open/close signal is HIGH (connector pin 3).
Off 00 0 Online.
3
On 08 8 Offline.
4
On
10
16
Not used. Fixed to On.
5,
6
- - - Undefined.
7
Off
00
0
Not used. Fixed to Off.
n = 2: Offline status
Bit Off/On Hex Decimal
Function
0
Off
00
0
Not used. Fixed to Off.
1
On
02
2
Not used. Fixed to On.
Off
00
0
Cover is closed.
2
On
04
4
Cover is open.
Off
00
0
Paper is not being fed by using the FEED button.
3
On
08
8
Paper is being fed by the FEED button.
4
On
10
16
Not used. Fixed to On.
5
Off
00
0
No paper-end stop.
On
20
32
Printing is being stopped.
6 Off 00 0 No
error.
On 40 64 Error
occurs.
7
Off
00
0
Not used. Fixed to Off.
Bit 5: Becomes on when the paper end sensor detects paper end and printing stops.