Specifications
ZPL Commands
~HS
172
45541L-004 Rev. A ZPL II Programming Guide 9/15/06
String 2
<STX>mmm,n,o,p,q,r,s,t,uuuuuuuu,v,www<ETX><CR><LF>
* This string specifies the printer’s media type, sensor profile status, and communication
diagnostics status. As in String 1, this is a three-digit decimal representation of an eight-bit
binary number. First, convert the decimal number to a binary number.
The eight-digit binary number is read according to this table:
mmm = function settings*
n = unused
o = head up flag (1
= head in up position)
p = ribbon out flag (1
= ribbon out)
q = thermal transfer mode flag (1
= Thermal Transfer Mode selected)
r =Print Mode
0
= Rewind
1 = Peel-Off
2 = Tear-Off
3 = Cutter
4 = Applicator
s = print width mode
t = label waiting flag (1
= label waiting in Peel-off Mode)
uuuuuu
uu
= labels remaining in batch
v = format while printing flag (always 1)
www = number of graphic images stored in memory
a a a a a = Baud
a
a
a
a
= Handshake
0 = Xon/Xoff
1 = DTR
0000=110
0 001 = 300
0 010 = 600
0 011 = 1200
0 100 = 2400
0 101 = 4800
0 110 = 9600
0 111 = 19200
1 000 = 28800
1 001 = 38400
1 010 = 57600
1 011 = 14400
(available only on certain printer models)
= Parity Odd/Even
0=Odd
1=Even
= Disable/Enable
0 = Disable
1 = Enable
=Stop Bits
0=2Bits
1=1Bit
= Data Bits
0=7Bits
1=8Bits
78210
6
5
4
3
aaa=aaaaaaaaa
876543210
(available only on certain printer models)
(available only on certain printer models)