62Programming
Software Command Syntax
Status Reporting CommandsImportant • All status commands except for the acknowledge marker are immediate. This means that these commands bypass the print queue and are answered as soon as they possibly can be.
Status codes are reset when:
• the conditions causing them are removed
• the printer is power cycled (turned off/on)
• the print head is lifted and then lowered to clear a paper jam.
| ESC ENQ 1 |
|
| Status Enquiry |
| 1B 05 01 | Hex |
| |
| 27 5 1 | decimal |
|
|
|
| <ESC><ENQ><1> issues a status enquiry that results in response ACK (06 hex) if there are no | ||
|
| errors, or NAK (15 hex) and a byte indicating an error if one or more sensors report some | ||
|
| condition. |
| |
|
|
|
| Table 3 • Status Codes |
|
|
|
| |
| Status code | Meaning |
| |
|
|
|
| |
| ACK | OK (printer is operable) |
| |
|
|
| ||
| NAK 1 | Paper left in presenter module. Attempt to clear the paper path failed. | ||
|
|
|
| |
| NAK 2 | Cutter jammed |
| |
|
|
|
| |
| NAK 3 | Out of paper |
| |
|
|
|
| |
| NAK 4 | Print Head lifted |
| |
|
|
| ||
| NAK 5 | |||
|
| might be wound around the platen or, in some way, has been forced above the presenter | ||
|
| module. |
| |
|
|
| ||
| NAK 6 | Temperature error. The print head temperature has exceeded the 60 °C maximum limit. | ||
|
|
|
| |
| NAK 7 | Presenter not running |
| |
|
|
|
| |
| NAK 8 | Paper jam during retract |
| |
|
|
|
| |
| NAK 0A | Black mark not found |
| |
|
|
| ||
| NAK 0B | Black mark calibration error | ||
|
|
|
| |
| NAK 0C | Index error |
| |
|
|
|
| |
| NAK 0D | Checksum error |
| |
|
|
| ||
| NAK 0E | Wrong firmware type or target for firmware loading | ||
|
|
| ||
| NAK 0F | Firmware cannot start because no firmware is loaded or firmware checksum is wrong. | ||
|
|
| ||
| NAK 10 | Retract function timed out. If the customer doesn’t take the paper and the printer clears the | ||
|
| presenter due to a timeout, the pending error bit is set and error code NAK 10h is reported. | ||
|
|
| ||
|
| Note • Errors 0B, 0C, and 10 are |
TTP 2000 Technical Manual | 09/14/2009 |