Specifications

Table Of Contents
~HB
Battery Status
Description: When the ~HB command is sent to the Zebra printer, a data string is
sent back to the Host. The string starts with an <STX> control code sequence and is
terminated by an <ETX><CR><LF> control code sequence.
Format: ~HB
Parameters: when the printer receives the command it will return:
<STX>bb.bb,hh.hh,bt<ETX><CR><LF>
<STX> = ASCII start-of-text character
bb.bb = current battery voltage reading to the nearest ¼ volt.
hh.hh = current head voltage reading to the nearest ¼ volt
bt = battery temperature in Celsius
<ETX> = ASCII end-of-text character
<CR> = ASCII carriage return
<LF> = ASCII line feed character
Comments: This command is used for the power-supply battery of the printer and is
not to be confused with battery backed-up RAM.
ZPL II Programming Guide Volume One: Command Reference for X.10
146