Add Elements
Templates
Try It Out
Load sample data to test the tool:
Properties
Select an element to edit its properties
ZPL Quick Reference
Document Structure
^XA
Start label format
^XZ
End label format
^PW{width}
Print width in dots
^LL{length}
Label length in dots
Positioning
^FO{x},{y}
Field origin (position)
^FS
Field separator (end field)
Text
^A0{rotation},{h},{w}
Scalable font (A0)
^FD{data}
Field data (text content)
Example:
^FO50,50^A0N,30,30^FDHello^FS
Barcodes
^BC{rot},{h},{text},{above},{chk}
Code 128 barcode
^BQ{rot},{model},{mag}
QR Code
Example:
^FO50,100^BCN,80,Y,N,N^FD12345^FS
Graphics
^GB{w},{h},{thickness}
Graphic box (lines, rectangles)
Line:
^FO50,200^GB300,3,3^FS
Box:
^FO50,50^GB200,100,2^FS
Rotation Values
N = 0° (Normal)
R = 90° (Rotated)
I = 180° (Inverted)
B = 270° (Bottom-up)
DPI Conversion
Dots = Inches × DPI
203 DPI: 1" = 203 dots
300 DPI: 1" = 300 dots
600 DPI: 1" = 600 dots
Paste existing ZPL code to import and edit visually: