Zebra Technologies TTP 7030 technical manual Paper-near-end Enquiry

Models: TTP 7030

1 128
Download 128 pages 16.1 Kb
Page 57
Image 57

Programming

Status Reporting Commands

57

Note • Errors 02, 05 and FF 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

 

 

Paper-near-end Enquiry

1B 05 02

hex

 

27 5 2

decimal

 

 

 

This command requests a paper-near-end sensor (paper low) status from the printer in a 1-byte

 

format.

 

 

 

 

 

Value = 1

indicates “No paper”

 

 

 

 

Value = 0

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 current status of the sensor, use <ESC><ENQ><6> and extract the paper-near-end bit.

10/05/2009

TTP 7030™ Technical Manual

P1003636-002

Page 57
Image 57
Zebra Technologies TTP 7030 technical manual Paper-near-end Enquiry