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
Code 49 Field Data Character Set
The ^FD data sent to the printer when using starting modes 0 to 5 is based on the
Code 49 Internal Character Set. This is shown in the first column of the Code 49
table on the previous page. The characters
:;<=>?
are special Code 49 control characters.
Valid field data must be supplied when using modes 0 to 5. Shifted characters are
sent as a two-character sequence of a shift character followed by a character in the
unshifted character set.
For example, to encode a lowercase “a,” send a “Shift 2 (>)” followed by an
uppercase “A.” If interpretation line printing is selected, a lowercase “a” will print
in the interpretation line. This will reflect what the output from the scanner will
read. Code 49 uses uppercase alphanumeric characters only.
If an invalid sequence is detected, the Code 49 formatter will stop interpreting field
data and print a symbol with the data up to the invalid sequence. The following are
examples of invalid sequences:
•
Terminating numeric mode with any characters other than 0 through 9 or a Numeric
Space.
•
Starting in Mode 4 (Regular Alphanumeric Shift 1) and the first field data character is
not in the Shift 1 set.
•
Starting in Mode 5 (Regular Alphanumeric Shift 2) and the first field data character is
not in the Shift 2 set.
•
Sending Shift 1 followed by a character not in the Shift 1 set.
•
Sending Shift 2 followed by a character not in the Shift 2 set.
•
Sending two Shift 1 or Shift 2 control characters.
Advantages of Using the Code 49 Automatic Mode
Using the default (automatic mode) completely eliminates the need for selecting the
starting mode or manually performing character shifts. The automatic mode
analyzes the incoming ASCII string, determines the proper mode, performs all
character shifts, and compacts the data for maximum efficiency.
Numeric mode will only be selected or shifted when five or more continuous digits
are found. Numeric packaging provides no space advantage for numeric strings
consisting of fewer than eight characters.
ZPL II Programming Guide Volume One: Command Reference for X.10
20