Start label format
^XAWrap every label format with ^XA and ^XZ.
Suchen Sie häufige Zebra-ZPL-Befehle, Beispiele und Hinweise für Layout, Text, Barcodes, Grafiken und Geräteeinstellungen.
^XAWrap every label format with ^XA and ^XZ.
^XZMissing ^XZ is one of the easiest ways to break a job.
^PW812Set the label width in dots.
^LL1218Set label length in dots.
^FO50,80Place the next field at x,y coordinates.
^FT50,120Alternative field positioning, often baseline-oriented.
^A0N,40,40Choose font, rotation, height, and width.
^FDHello^FSText or encoded data for a field.
^FSEnds a field. Missing separators cause confusing output.
^GB400,2,2^FSDraw lines, boxes, and separators.
^BY3,2,120Set barcode module width, ratio, and height defaults.
^BCN,120,Y,N,NCommon for shipping and inventory labels.
^BQN,2,6^FDQA,https://example.com^FSUse model 2 QR with module size.
^BXN,5,200Common for compact 2D labels.
^CI28Use before UTF-8 text fields.
^LH0,0Offset the whole label coordinate system.
~SD15Printer setting. Test carefully on real media.
^PR4Printer speed can affect barcode quality.
Use the default values to understand the expected ZPL shape.
Check label size, DPI, barcode data, and printer-specific settings before production.
Use the main ZPL Viewer for final visual checks whenever the tool generates ZPL.