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

The t parameter can be determined by using the following formula:
where x is the width of the graphic in millimeters, y is the height of the graphic in
millimeters and dots/mm is the print density of the printer being programmed.
For example, to determine the correct t parameter for a graphic 8mm wide, 16mm
high and a print density of 8 dots/mm, the formula works this way:
Raise any portion of a byte to the next whole byte.
The w parameter (the width in terms of bytes per row) can be determined by using
the following formula:
where x is the width of the graphic in millimeters and dots/mm is the print density of
the printer being programmed.
For example, to determine the correct w parameter for a graphic 8mm wide and a
print density of 8 dots/mm, the formula works this way:
Raise any portion of a byte to the next whole byte.
Parameter w is the first value in the t calculation.
Parameter data is a string of hexadecimal numbers sent as a representation of the
graphic image. Each hexadecimal character represents a horizontal nibble of four
dots. For example, if the first four dots of the graphic image to be created should be
white and the next four black, the dot by dot binary code would be 00001111. The
hexadecimal representation of this binary value would be 0F. The entire graphic
image is coded in this way. The complete graphic image is sent as one long
continuous string of hexadecimal values.
ZPL II Programming Guide Volume One: Command Reference for X.10
106