Zebra ttp2110 Software Guide

Page of 138
75
Programming
Software command syntax
10/22/2008
TTP2100 Technical Manual
P1003640-001
Extended status is status from the printer together with devices connected to the I
2
C options-
bus available in some Zebra printers (the TTP 2100 series does not have any I
2
C  bus so these 
parts of the command are superfluous). 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
Example 1 •
Out of paper presenter Jam, and shutter open error.
Example 2 •
No errors in any device.
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
11
07
01
05
20
83
87
21
81
Hex
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Status code 1 (shutter device)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Device Shutter
 
 
 
 
 
 
 
 
 
 
 
 
Status code 7 (printer device)
 
 
 
 
 
 
 
 
 
 
Status code 3 (printer device)
 
 
 
 
 
 
 
 
Device local host (printer)
 
 
 
 
 
 
Tag message length (bytes)
 
 
 
 
Tag ID: Status messages
 
 
Protocol Length in bytes
Protocol SM, version 1 (short message)
11
02
01
00
Hex
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Tag message length (bytes)
 
 
 
 
Tag ID: Status messages
 
 
Protocol Length in bytes 
Protocol SM, version 1 (short message)