ZPL commands

Supported commands

zplkit currently supports 85 of the 176 commands in Zebra's ZPL II Programming Guide. A supported command can be built with zplkit, parse() reads it into a typed node, and the preview draws it if it draws anything. Other commands are kept as they are by parse() and can be added with raw(). Open a row for a summary, or a command's page for its parameters and an example.

Every parameter and edge case is in Zebra's ZPL II Programming Guide.

✓ Supported Partly, see the notes Not yet
176 of 176

Labels and formats19 of 19 supported

CommandSupported
Change Caret
✓
Change Caret
✓
Change Delimiter
✓
Change Delimiter
✓
Change Tilde
✓
Change Tilde
✓
Download Format
✓
Label Home
✓
Label Length
✓
Label Reverse Print
✓
Label Shift
✓
Label Top
✓
Set Units of MeasurementConverting between resolutions (b and c) isn't applied
✓
Printing Mirror Image of Label
✓
Print Orientation
✓
Print Width
✓
Start Format
✓
Recall Format
✓
End Format
✓

Fields13 of 14 supported

CommandSupported
Field Clock (or Real Time Clock)Days and months in English; the renderer's clock option sets the time
✓
Field Data
✓
Multiple Field Origin Locations
Field Number
✓
Field Origin
✓
Field Parameter
✓
Field Reverse Print
✓
Field Separator
✓
Field Typeset
✓
Field Variable
✓
Field Orientation
✓
Comment
✓
Serialization Field (with a standard ^FD String)
✓
Serialization Data
✓

Text and fonts10 of 14 supported

CommandSupported
Scalable/bitmapped font
✓
Use font name to call fontNeeds the font file, downloaded in the label or passed to the renderer
✓
Change Alphanumeric Default Font
✓
Change International Font/EncodingUTF-8 (28 to 30) and Latin-1
Font Identifier
✓
Download Bitmap Font
Download Encoding
Download Intellifont (Scalable Font)
Download Bounded TrueType fontBounded fonts use Zebra's own format, which isn't drawn
Download Unbounded TrueType font
✓
Field Block
✓
Field Hexadecimal Indicator
✓
Select Encoding
Text BlocksDrawn as Zebra's guide describes, without reference renders to compare with
✓

Graphics and images12 of 17 supported

CommandSupported
Download Graphics
✓
Abort Download Graphics
Download Graphics / Native TrueType or OpenType fontTrueType fonts and graphics
✓
Erase Download Graphics
Graphic Box
✓
Graphic Circle
✓
Graphic Diagonal Line
✓
Graphic Ellipse
✓
Graphic Field
✓
Graphic SymbolThe UL and CSA marks are drawn as stand-ins
Host Graphic
Upload Graphics
Object Delete
✓
Image Load
✓
Image Move
✓
Image Save
Recall Graphic
✓

Barcodes27 of 30 supported

CommandSupported
Aztec bar code parameters
✓
Code 11 bar code
✓
Interleaved 2 of 5 bar code
✓
Code 39 bar code
✓
Code 49 bar code
Planet Code bar code
✓
PDF417 bar codeSame size as a printer's symbol; error correction codewords can differ
✓
EAN-8 bar code
✓
UPC-E bar code
✓
Code 93 bar code
✓
CODABLOCK bar code
Code 128 bar code (subsets A, B, and C)
✓
UPS MaxiCode bar codeModes 2 to 6
✓
EAN-13 bar code
✓
MicroPDF417 bar codeSame size as a printer's symbol; data can be encoded differently
✓
Industrial 2 of 5 bar code
✓
Standard 2 of 5 bar code
✓
ANSI Codabar bar code
✓
LOGMARS bar code
✓
MSI bar code
✓
Aztec bar code
✓
Plessey bar code
✓
QR Code bar code
✓
RSS (Reduced Space Symbology) bar codeTypes 1 to 6; composite symbols show a placeholder
UPC/EAN bar code
✓
TLC39 bar code
UPC-A bar code
✓
Data Matrix bar codeSame size as a printer's symbol; data can be encoded differently
✓
Bar code field default
✓
POSTNET bar code
✓

Printer and media4 of 82 supported

CommandSupported
Change Memory Letter Designation
Cache On
Code Validation
Battery Status
Head Diagnostic
Host Format
Configuration Label Return
Host Identification
Host RAM Status
Host Status Return
Return ZebraNet Alert Configuration
Host Verification
Host Directory List
Display Description Information
Cancel All
Initialize Flash Memory
Reset Optional Memory
Set Media Sensor Calibration
Enable Communications Diagnostics
Disable Diagnostics
Set Battery Condition
Graphing Sensor Calibration
Set Auxiliary Port
Set Label Length
Set Dots per Millimeter
Head Test Fatal
Head Test Non-Fatal
Pause and Cancel Format
Power On Reset
Sensor Select
Change Backfeed Sequence
Head Test Interval
Configuration Update
Set Ribbon Tension
Cancel Current Partially Input Format
Reprint After Error
Kill Battery (Battery Discharge Mode)
Select Date and Time Format (for Real Time Clock)
Define Language
Define Printer Name
Set Password
Map Clear
Media Darkness
✓
Media Feed
Maximum Label Length
Print Mode
Media Tracking
Mode Protection
Media Type
Modify Head Cold Warning
Network Connect
Network ID Number
Set All Printers Transparent
Change Networking Settings
Set Currently Connected Printer Transparent
Slew Given Number of Dot Rows
Slew to Home Position
Slew to Home Position
Programmable Pause
Programmable Pause
Print QuantityCopies that are all the same are drawn once, with their count
✓
Print Rate
✓
Applicator Reprint
Print Start
Reset Advanced Counter
Set Serial Communications
Set Darkness
✓
Set Mode and Language
Set Offset (for Real Time Clock)
Start Print
Halt ZebraNet Alert
Set Printhead Resistance
Set Media Sensors
Set Date and Time (for Real Time Clock)
Set ZebraNet Alert
Set ZPL Mode
Tear-off Adjust Position
Transfer Object
Print Configuration Label
Print Directory Label
Suppress Backfeed
Printer Sleep