User`s manual

MP-4000 TH POS Printer Rev.1.4 Programmer’s Manual
22-aug-2007
Firmware Release: 1.5
71
n = 3: Error 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.
2 – – Undefined
Off 00 0 No autocutter error. 3
On 08 8 Autocutter error occurs.
4 On 10 16 Not used. Fixed to On.
5 Off 00 0 No unrecoverable error.
On 20 32 Unrecoverable error occurs.
6 Off 00 0 No auto-recoverable error.
On 40 64 Auto recoverable error occurs.
7 Off 00 0 Not used. Fixed to Off.
Bit 3: If these errors occur due to paper jams or the like, it is possible to recover by correcting the cause of
the error and executing DLE ENQ n (1 = n = 2). If an error due to a circuit failure (e.g. wire break)
occurs, it is impossible to recover.
Bit 6: When printing is stopped due to high print head temperature until the print head temperature drops
sufficiently or when the paper roll cover is open during printing, bit 6 is On.
n = 4: Continuous paper sensor 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.
2, 3 Off 00 0 Paper roll near-end sensor: paper adequate.
On 0C 12 Paper near-end is detected by the paper roll near-end
4 On 10 16 sensor.
5, 6 Off 00 0 Not used. Fixed to On.
On 60 96 Paper roll sensor: Paper present.
7 Off 00 0 Paper roll end detected by paper roll sensor.
DLE ENQ n
[Function] Real-time request to printer.
[Format] ASCII DLE EOT n
Hexadecimal 10 05 n
Decimal 16 5 n
[Description] Responds to a request from the host computer. n specifies the
requests as follows:
n
Request
1 Recover from an error and restart printing from the line where the
error occurred
2 Recover from an error aft clearing the receive and print buffers
[Details] • When the printer is disabled with ESC = (Select peripheral device),
this command is effective.
• This command is effective only when an autocutter error occurs.
• The printer starts processing data upon receiving this command.