Specifications
Table Of Contents
- Table of Contents
- INTRODUCTION - Volume One
- Welcome to ZPL II Programming for X.10 Firmware
- SECTION ONE - ZPL II Programming Commands
- Using Section One: ZPL II Command Reference
- ^A - Scalable/Bitmapped Font
- ^A@ - Use Font Name to Call Font
- ^B1 - Code 11 Bar Code
- ^B2 - Interleaved 2 of 5 Bar Code
- ^B3 - Code 39 Bar Code
- ^B4 - Code 49 Bar Code
- ^B7 - PDF417 Bar Code
- ^B8 - EAN-8 Bar Code
- ^B9 - UPC-E Bar Code
- ^BA - Code 93 Bar Code
- ^BB - CODABLOCK Bar Code
- ^BC - Code 128 Bar Code (Subsets A, B, and C)
- ^BD - UPS MaxiCode Bar Code
- ^BE - EAN-13 Bar Code
- ^BF - Micro-PDF417 Bar Code
- ^BI - Industrial 2 of 5 Bar Code
- ^BJ - Standard 2 of 5 Bar Code
- ^BK - ANSI Codabar
- ^BL - LOGMARS Bar Code
- ^BM - MSI Bar Code
- ^BP - Plessey Bar Code
- ^BQ - QR Code Bar Code
- ^BS - UPC/EAN Extensions
- ^BU - UPC-A Bar Code
- ^BX - Data Matrix Bar Code
- ^BY - Bar Code Field Default
- ^BZ - POSTNET Bar Code
- ^CC ~CC - Change Caret
- ^CD ~CD - Change Delimiter
- ^CF - Change Alphanumeric Default Font
- ^CI - Change International Font
- ^CM - Change Memory Letter Designation
- ^CO - Cache On
- ^CT ~CT - Change Tilde
- ^CV - Code Validation
- ^CW - Font Identifier
- ~DB - Download Bitmap Font
- ~DE - Download Encoding
- ^DF - Download Format
- ~DG - Download Graphics
- ~DN - Abort Download Graphic
- ~DS - Download Scalable Font
- ~DT - Download TrueType Font
- ~DU - Download Unbounded TrueType Font
- ~DY - Download Graphics
- ~EF - Erase Stored Formats
- ~EG - Erase Download Graphics
- ^FB - Field Block
- ^FC - Field Clock (for Real Time Clock)
- ^FD - Field Data
- ^FH - Field Hexadecimal Indicator
- ^FM - Multiple Field Origin Locations
- ^FN - Field Number
- ^FO - Field Origin
- ^FP - Field Parameter
- ^FR - Field Reverse Print
- ^FS - Field Separator
- ^FT - Field Typeset
- ^FV - Field Variable
- ^FW - Field Orientation
- ^FX - Comment
- ^GB - Graphic Box
- ^GC - Graphic Circle
- ^GD - Graphic Diagonal Line
- ^GE - Graphic Ellipse
- ^GF - Graphic Field
- ^GS - Graphic Symbol
- ~HB - Battery Status
- ^HG - Host Graphic
- ~HI - Host Identification
- ~HM - Host Memory Status
- ~HS - Host Status Return
- ~HU - Host Unsolicited
- ^HW - Host Directory List
- ^HY - Upload Graphics
- ^HZA - Display All Description Information
- ^HZF - Format Parameter Setting Information
- ^HZL - Object Directory Listing Information
- ^HZO - Individual Object Data Information
- ^HZR - Status Information
- ^ID - Object Delete
- ^IL - Image Load
- ^IM - Image Move
- ^IS - Image Save
- ~JA - Cancel All
- ^JB - Initialize Flash Memory
- ~JB - Reset Optional Memory
- ^JC - Set Media Sensor Calibration
- ~JD - Enable Communications Diagnostics
- ~JE - Disable Diagnostics
- ~JF - Set Battery Condition
- ~JG - Graphing Sensor Calibration
- ^JJ - Set Auxiliary Port
- ~JL - Set Label Length
- ^JM - Set Dots per Millimeter
- ~JN - Head Test Fatal
- ~JO - Head Test Non-fatal
- ~JP - Pause and Cancel Format
- ~JR - Power On Reset
- ~JS - Change Backfeed Sequence
- ^JT - Head Test Interval
- ^JU - Configuration Update
- ^JW - Set Ribbon Tension
- ~JX - Cancel Current Partially Input Format
- ^JZ - Reprint After Error
- ~KB - Kill Battery (Battery Discharge Mode)
- ^KD - Date/Time Format (for Real Time Clock)
- ^KL - Define Language
- ^KN - Define Printer Name
- ^KP - Define Password
- ^LH - Label Home
- ^LL - Label Length
- ^LR - Label Reverse Print
- ^LS - Label Shift
- ^LT - Label Top
- ^MC - Map Clear
- ^MD - Media Darkness
- ^MF - Media Feed
- ^ML - Maximum Label Length
- ^MM - Print Mode
- ^MN - Media Tracking
- ^MP - Mode Protection
- ^MT - Media Type
- ^MU - Set Units of Measurement
- ~NC - Network Connect
- ^NI - Network ID Number
- ~NR - Set All Network Printers Transparent
- ~NT - Set Currently Connected Printer Transparent
- ^PF - Slew Given Number of Dot Rows
- ^PH ~PH - Slew to Home Position
- ^PM - Printing Mirror Image of Label
- ^PO - Print Orientation
- ^PP ~PP - Programmable Pause
- ^PQ - Print Quantity
- ^PR - Print Rate
- ~PR - Applicator Reprint
- ~PS - Print Start
- ^PW - Print Width
- ~RO - Reset Advanced Counter
- ^SC - Set Communications
- ~SD - Set Darkness
- ^SE - Select Encoding
- ^SF - Serialization Field (with a Standard ^FD String)
- ^SL - Set Mode/Language (for Real Time Clock)
- ^SN - Serialization Data
- ^SO - Set Offset (for Real Time Clock)
- ^SP - Start Print
- ^SQ - Halt ZebraNet ALERT
- ^SR - Set Printhead Resistance
- ^SS - Set Media Sensors
- ^ST - Set Time/Date (for Real Time Clock)
- ^SX - Set ZebraNet ALERT
- ^SZ - Set ZPL
- ~TA - Tear-off Adjust Position
- ^TO - Transfer Object
- ~WC - Print Configuration Label
- ^WD - Print Directory Label
- ^XA - Start Format
- ^XB - Suppress Backfeed
- ^XF - Recall Format
- ^XG - Recall Graphic
- ^XZ - End Format
- ^ZZ - Printer Sleep

~HS
Host Status Return
Description: When ~HS is sent to the printer, three data strings are sent back to the
Host. Each string starts with an <STX> control code and is terminated by an
<ETX><CR><LF> control code sequence. To avoid confusion, each string will be
printed on a separate line by the host.
String 1
<STX>aaa,b,c,dddd,eee,f,g,h,iii,j,k,l<ETX><CR><LF>
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)
*This parameter specifies the printer’s baud rate, number of data bits, number of stop bits,
parity setting and type of handshaking. This value is a 3-digit decimal representation of an
8-bit binary number. To evaluate this parameter, first convert the decimal number to a binary
number. The 9-digit binary number is read according to the following table:
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 = 2 Bits
1=1Bit
= Data Bits
0 = 7 Bits
1 = 8 Bits
78210
6
5
4
3
aaa=aaaaaaaaa
876543210
(available only on certain printer models)
(available only on certain printer models)
ZPL II Programming Guide Volume One: Command Reference for X.10
150