Esc enq 2 – Zebra Technologies TTP 8000 User Manual

Page 57

Advertising
background image

57

Programming

System Related Commands

10/19/2009

TTP 8000 Technical Manual

P1003638-003

The host computer cannot be certain that all conditions have been cleared until an ACK is
received.

The possible 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 •

If you want to read out all status information directly, use <ESC><ENQ>E.

ESC ENQ 2

Paper-near-end Enquiry

1B 05 02

hex

27 5 2

decimal

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 1. 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.

Advertising