
71
Programming
Software Command Syntax
09/28/2009 TTP 2100 Technical Manual P1003640-002
Results in a 2-byte response, reflecting the status of each sensor. This command is intended as
a go/no go indication.
First Byte:
Second Byte:
Bit 4 and 5 in the first byte are reset when read.
ESC ENQ 006
Status Report
1B 05 06 hex
27 5 6 decimal
Note • The sensor status reported in the status report are for compatibility with older printers.
Please use ESC ENQ 5 in new applications. Refer to ESC ENQ 005 on page 70 for more
information.
7654321 0Bit
Do not use!
-
Do not use!
Error black-mark
-
Power has been OFF***
Print data exists**
Status code available*
7654321 0Bit
Out of paper
Paper-near-end****
-
Paper at presenter
Cutter stuck
Printhead lifted
-
-
Note • 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 BBh.
* 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.
**** This paper-near-end bit differs from the ESC ENQ 2 response, see ESC
ENQ 002 on page 68.
Kommentare zu diesen Handbüchern