Download Zebra TTP7030 Specifications

Transcript
62
Programming
Status Reporting Commands
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.
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.
Note • If you want to read out all status information directly, use ESC ENQ E.
ESC ENQ 002
1B 05 02
27 5 2
hex
decimal
Paper-near-end Enquiry
This command requests a paper-near-end sensor (paper low) status from the printer in a 1-byte
format.
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.
P1003636-001
TTP 7020™/TTP 7030™ Technical Manual
02/11/2009