Skip to content

Latest commit

 

History

History
266 lines (226 loc) · 7.09 KB

File metadata and controls

266 lines (226 loc) · 7.09 KB

ZPL Command Roadmap

What's supported, what's next, what's planned.


Supported

Layout & flow

  • ^XA — start label
  • ^XZ — end label
  • ^PW — print width
  • ^LL — label length
  • ^LH — label home origin
  • ^LS — label shift
  • ^LT — label top offset
  • ^MM — print mode (tear-off / peel / cutter)
  • ^MT — media type
  • ^PQ — print quantity
  • ^LR — label reverse
  • ^PO — print orientation
  • ^PM — print mirror
  • ^PR — print rate
  • ^MD — media darkness
  • ~SD — set darkness

Fields

  • ^FO — field origin
  • ^FT — field top
  • ^FD — field data
  • ^FS — field separator
  • ^FH — field hex indicator
  • ^FR — field reverse
  • ^FX — field comment
  • ^FW — default field rotation
  • ^FB — multi-line text block
  • ^TB — text block
  • ^FN — variable placeholder
  • ^FV — variable data
  • ^FE — field-number embed character
  • ^FC — field clock (date / time)
  • ^BY — barcode field default

Text & fonts

  • ^A0 — scalable font 0
  • ^A — fonts A-Z, 0-9 (best-effort sizing)
  • ^A@ — TrueType reference
  • ^CF — change default font
  • ^CI — international encoding

Barcodes

  • ^BC — Code 128
  • ^B3 — Code 39
  • ^BA — Code 93
  • ^B1 — Code 11
  • ^B2 — Interleaved 2 of 5
  • ^BI — Industrial 2 of 5
  • ^BJ — Standard 2 of 5
  • ^BK — ANSI Codabar
  • ^BL — LOGMARS
  • ^BM — MSI
  • ^BP — Plessey
  • ^BE — EAN-13
  • ^B8 — EAN-8
  • ^BU — UPC-A
  • ^B9 — UPC-E
  • ^BR — GS1 Databar
  • ^B5 — Planet Code
  • ^BZ — POSTNET
  • ^BS — UPC/EAN 2- or 5-digit supplement
  • ^B4 — Code 49
  • ^BQ — QR Code
  • ^BX — DataMatrix
  • ^B7 — PDF417
  • ^BF — MicroPDF417
  • ^B0 / ^BO — Aztec
  • ^BB — CODABLOCK F

Graphics

  • ^GB — graphic box (also lines)
  • ^GD — diagonal line
  • ^GE — ellipse
  • ^GC — circle
  • ^GF — monochrome bitmap

Serialisation

  • ^SN — counter (post-field)
  • ^SF — counter (pre-field)

Templates & variables

  • ^DF / ^DFR — store template
  • ^XF / ^XFR — recall template
  • ^XG — recall graphic
  • ~DY — download font / graphic

Coming soon

Fields

  • ^FM — multiple field origins
  • ^FP — field path (text along path)
  • ^CO — font cache size
  • ^CP — change parser
  • ^CV — code validation

Barcodes

  • ^BD — UPS MaxiCode
  • ^BT — TLC39

Planned

Coming with a future native build.

Printer-resident graphics & fonts

  • ^GS — graphic symbol (printer-resident chars)
  • ^IL — image load
  • ^IM — image move
  • ^ID — image delete
  • ^IS — image save
  • ~DG — download graphic
  • ~EG — erase download graphics
  • ^CW — font alias (printer-resident)
  • ^FL — font linking
  • ^LF — list font links
  • ~DB — download bitmap font
  • ~DS — download scalable font
  • ~DT — download TrueType font
  • ~DU — download unbounded TrueType
  • ~DE — download encoding
  • ~DN — abort download

Real-time data

  • ^SO — RTC offset
  • ^ST — set date & time

Hardware control & calibration

  • ^MA — maintenance alert
  • ^MC — map clear
  • ^MI — maintenance info message
  • ^ML — maximum label length
  • ^MN — media tracking (web / mark / continuous)
  • ^MP — mode protection
  • ^MU — units of measure
  • ^MW — head cold warning
  • ^MF — media feed
  • ^PA — advanced text properties
  • ^PF — slew dot rows
  • ^PH / ~PH — slew to home
  • ^PN — present now
  • ^PP / ~PP — programmable pause
  • ~PR — applicator reprint
  • ~PS — print start
  • ~JA — cancel all
  • ^JB / ~JB — initialize flash / reset
  • ~JC — media sensor calibration
  • ~JD / ~JE — enable / disable comm diagnostics
  • ~JF — set battery condition
  • ~JG — graphing sensor calibration
  • ^JH — early warning settings
  • ~JI — start ZBI
  • ^JJ — set auxiliary port
  • ~JL — set label length
  • ^JM — set dots per millimeter
  • ~JN / ~JO — head test fatal / non-fatal
  • ~JP — pause and cancel format
  • ~JQ — terminate ZBI
  • ~JR — power on reset
  • ~JS — change backfeed sequence
  • ^JT — head test interval
  • ^JU — configuration update
  • ^JW — set ribbon tension
  • ~JX — cancel partial format
  • ^JZ — reprint after error
  • ~RO — reset advanced counter
  • ^SC — set serial comm
  • ^SE / ~SE — encoding table
  • ^SI — set sensor intensity
  • ^SL — set mode & language
  • ^SP — start ZBI program
  • ^SQ — halt ZBI execution
  • ^SR — set printhead resistance
  • ^SS — set media sensors
  • ^SX — set ZebraNet alert
  • ^SZ — set ZPL mode
  • ~TA — tear-off adjust
  • ^TO — transfer object
  • ~WC — print configuration label
  • ^WD — print directory label
  • ~WQ — write query
  • ^WT — write tag (RFID)
  • ^XB — suppress backfeed
  • ^XS — set dynamic media calibration
  • ^ZZ — printer sleep

Configuration & persistence

  • ^CC / ~CC — change caret
  • ^CD / ~CD — change delimiter
  • ^CT / ~CT — change tilde
  • ^CM — change memory letter assignment
  • ^KD — date & time format
  • ^KL — define language
  • ^KN — printer name
  • ^KP — set password
  • ^KV — firmware version
  • ~KB — kill battery

Host communication

  • ~HB — battery status
  • ~HD — head diagnostic
  • ^HF — host format
  • ^HG — host graphic
  • ^HH — configuration label return
  • ~HI — host identification
  • ~HM — host RAM status
  • ~HQ — host query
  • ~HS — host status return
  • ^HT — host linked fonts list
  • ~HU — ZebraNet alert config
  • ^HV — host verification
  • ^HW — host directory
  • ^HY — upload graphics
  • ^HZ — display description info

RFID

  • ^RF — read / write RFID
  • ^RI — get tag ID
  • ^RM — enable motion
  • ^RN — detect multiple tags
  • ^RQ — quick write
  • ^RR — read timeout
  • ^RS — RFID setup
  • ^RT — read tag
  • ^RU — read UHF
  • ^RV — report encoding result
  • ^RW — set read & write power
  • ^RZ — set tag password
  • ^HL — RFID data log

Network

  • ^NB — search network printer
  • ^NC / ~NC — primary network device
  • ^NI — network ID
  • ^NN — set SNMP
  • ^NP — primary / backup device
  • ~NR — set all network printers transparent
  • ~NT — set SMTP
  • ^NW — web auth timeout