LabelQueueClient-Side

100% Private Offline Barcode & Label Suite

Free Online ZPL Viewer & Zebra Label Emulator (ZPL to PDF)

Preview raw Zebra Programming Language (ZPL II) strings instantly in your browser. Switch resolutions (152, 203, 300 DPI) and convert ZPL code directly into printable vector PDFs.

100% Client-Side Sandbox

Loading ZPL Emulator Engine...

Initializing client-side Zebra parser & virtual printhead

Developer Reference

Zebra Programming Language (ZPL II) Command Architecture & WMS Integration Guide

Essential command reference for SAP, Oracle, and supply chain software engineers.

Why Enterprise Supply Chains Rely on ZPL II

In high-throughput distribution hubs handling tens of thousands of outbound parcels every hour, raster graphical files (like PDF or TIFF) create severe network bandwidth bottlenecks and print server delays. Zebra Programming Language (ZPL II) circumvents this by transmitting compact ASCII command strings.

An entire 4" × 6" shipping label containing carrier routing codes, sender/recipient blocks, and Code 128 barcodes can be expressed in under 800 bytes of ZPL code. When the printer board receives the string, its onboard microprocessor draws lines, fonts, and barcodes directly onto the thermal print head buffer in milliseconds.

Core ZPL II Command Reference Table

CommandNameParameters & ExampleFunctional Description
^XAStart Format^XAOpens the label formatting buffer. Every ZPL label must start with this tag.
^XZEnd Format^XZTerminates the label format and commands the printer to feed and print.
^FOField Origin^FOx,y (e.g. ^FO50,100)Sets top-left coordinate origin in printer dots relative to label edge.
^FD ... ^FSField Data / Separator^FDHello World^FSEncloses the text or barcode string. ^FS marks end of field.
^BCCode 128 Barcode^BCo,h,f,g,eGenerates ISO/IEC 15417 Code 128 barcodes with auto-subset switching.
^GBGraphic Box / Line^GBw,h,t,c,rDraws rectangular boxes or horizontal/vertical divider lines of thickness t.

Frequently Asked Questions: ZPL Viewer & Zebra Emulation

Everything you need to know about physical margin calibration, print scale, and barcode readability.

Paste your raw ZPL code into LabelQueue's online viewer. Our client-side parser interprets commands (^XA, ^FO, ^GB, ^FD, ^BC, ^XZ) and renders the exact raster dots onto an HTML5 canvas. Click "Convert to PDF" to download a vector PDF calibrated to 4x6, 3x2, or 2x1 dimensions.