Specifications

171
ZPL Commands
~HS
9/15/06 ZPL II Programming Guide 45541L-004 Rev. A
~HS
Host Status Return
Description When the host sends ~HS to the printer, the printer sends three data strings
back. Each string starts with an <
STX> control code and is terminated by an
<
ETX><CR><LF> control code sequence. To avoid confusion, the host prints each string on a
separate line.
String 1
<STX>aaa,b,c,dddd,eee,f,g,h,iii,j,k,l<ETX><CR><LF>
* This string specifies the printer’s baud rate, number of data bits, number of stop bits, parity
setting, and type of handshaking. This value is a three-digit decimal representation of an eight-
bit binary number. To evaluate this parameter, first convert the decimal number to a binary
number.
The nine-digit binary number is read according to this table:
Note • When the parallel port is in an error condition, the host might not send data to the
printer until the error condition is corrected.
aaa = communication (interface) settings*
b = paper out flag (1
= paper out)
c = pause flag (1
= pause active)
dddd = label length (value in number of dots)
eee = number of formats in receive buffer
f = buffer full flag (1
= receive buffer full)
g = communications diagnostic mode flag (1
= diagnostic mode active)
h = partial format flag (1
= partial format in progress)
iii = unused (always 000)
j = corrupt RAM flag (1
= configuration data lost)
k = temperature range (1
= under temperature)
l = temperature range (1
= over temperature)