Zebra Technologies TTP 8000 manual Esc Enq E

Models: TTP 8000

1 132
Download 132 pages 5.96 Kb
Page 62
Image 62

62

Programming

System Related Commands

ESC ENQ E

 

Read Extended Status

1B 05 45

hex

27 5 69

decimal

 

Extended status is status from the printer together with devices connected to the I2C options- bus available in some Zebra printers. The short message protocol gives replies up to 255 bytes. Other protocols may be defined in the future. Protocols are described in separate documents.

<ESC><ENQ>E results in a variable length reply:

n1

Protocol version, 11h = Short Message Protocol

 

 

n2

Protocol length in bytes

 

 

n3-n255

Data specified by the protocol

 

 

Short message status examples:

Suppose we have a printer with a shutter attached.

Example 1 – Out of paper, presenter Jam and Shutter Open Jam.

Hex

01

Status code 1 (shutter device)

 

 

C1

Device Shutter

 

 

07

Satus code 7 (printer device)

 

 

03

Status code 3 (printer device)

 

 

80

Device local host (printer)

 

 

05

Tag message length (bytes)

 

 

01

Tag ID: Status messages

 

 

07

Protocol Length in bytes

 

 

11

Protocol SM, version 1 (short message)

 

 

Example 2 – No errors in any device.

Hex

00

Tag message length (bytes)

 

 

01

Protocol SM, version 1 (short message)

 

 

02

Protocol Length in bytes

 

 

11

Tag ID: Status messages

 

 

P1003638-003

TTP 8000 Technical Manual

10/19/2009

Page 62
Image 62
Zebra Technologies TTP 8000 manual Esc Enq E