
Programming
Status Reporting Commands
62
P1003636-001 TTP 7020™/TTP 7030™ Technical Manual 02/11/2009
A status enquiry command can only return one status code at a time. If there are two or more
simultaneous errors, each error condition should be cleared and the status enquiry repeated in
order to get a complete report of all status codes
The host computer cannot be certain that all error conditions have been cleared until an
ACK is
received.
The possible error conditions are reported in the above order.
This command requests a paper-near-end sensor (paper low) status from the printer in a 1-byte
format.
Note • Errors 02h, 05h, and FFh are terminal faults that require you to reset the printer before
it will be operable again. The printer automatically recovers from the other error conditions
as soon as the error is corrected.
Note • If you want to read out all status information directly, use ESC ENQ E.
ESC ENQ 002
Paper-near-end Enquiry
1B 05 02 hex
27 5 2 decimal
Value = (01h) indicates “No paper”
Value = (00h) indicates “Paper present” at the sensor position
Note • The status of the sensor is sampled every time the printout is cut. If three succeeding
samples show "no paper", the status reply changes to 00. This is to prevent false alarm if the
side of the paper roll is not clean. If you want the momentary status of the sensor, use ESC
ENQ 6 and extract the paper-near-end bit.
Komentáře k této Příručce