
Programming
System Related Commands
59
ESC ENQ 6 |
| Status Report |
1B 05 06 | Hex | |
27 5 6 | Decimal |
|
Results in a
Note • If no weekend sensor is installed, 64 is returned when everything is OK. If no weekend or
|
|
|
|
|
|
| Table 9 • Sensor Status |
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
| ||||||||
|
|
| First byte, bit No.: |
|
|
| Second byte, bit No.: |
|
| ||||||||
7 | 6 | 5 |
| 4 | 3 | 2 |
| 1 | 0 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Status code available* | Print data exists** | Power has been OFF*** |
| - | Pending external code**** | - |
| - | - | Paper at waste sensor | Weekend sensor | Printhead lifted | Cutter not home | Paper at presenter | - | Out of paper | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
TIP! | – Mask | away the undefined bits in your application program to avoid having to change | |||||||||||||||
| the application, if future firmware releases starts using them. |
|
|
|
| ||||||||||||
Mask first reply byte with E8h |
|
|
| Mask second reply byte with FBh |
|
| |||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
*This bit indicates that a status code is available. Use <ESC><ENQ><1> or
<ESC><ENQ><E> to fetch it.
**This bit tells you that there are data in the printer that have not yet been printed. There are two possible reasons for that:
1)The last command received by the printer was not a command that triggers a printout.
2)The printer is printing.
***When parallel cable is connected, both printer and host computer must have been off to set this bit. This is because the interface powers the RAM in the printer.
****Read external code with <ESC><ENQ><E>.
*****This
Bits 4 and 5 in the first byte are reset when read.
10/19/2009 | TTP 8000 Technical Manual |