Esc enq e – Zebra Technologies TTP 8000 User Manual

Page 62

Advertising
background image

Programming
System Related Commands

62

P1003638-003

TTP 8000 Technical Manual

10/19/2009

Extended status is status from the printer together with devices connected to the I

2

C 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:

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

Example 2 – No errors in any device.

Hex

ESC ENQ E

Read Extended Status

1B 05 45

hex

27 5 69

decimal

n1

Protocol version, 11h = Short Message Protocol

n2

Protocol length in bytes

n3-n255

Data specified by the protocol

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)

00

Tag message length (bytes)

01

Protocol SM, version 1 (short message)

02

Protocol Length in bytes

11

Tag ID: Status messages

Advertising