Troubleshoot ZPL labels that print incorrectly
Compare the expected preview against the printed label to diagnose sizing and alignment problems.
Preview sends your code to Labelary to render the first label.
Edit the example, then click Preview label to render your changes.
How to use this tool
Preview looks correct, printed label is clipped
Check actual stock size, print width, label length, printhead resolution and media calibration using the printer configuration report. Confirm that the driver is not scaling a PDF.
Preview is blank or cropped
Check the ^XA and ^XZ boundaries, label dimensions and field origins. A field placed outside the preview dimensions may not be visible. Embedded fonts or graphics may need assets that exist only on your printer.
Actual printer output is shifted or inconsistent
Check media sensing and calibration for your printer model. Use your printer's documented procedure for gap, notch or continuous media. The viewer simulates label content and cannot measure physical calibration.
Related ZPL tools and guides
- Online ZPL viewer
- ZPL to PDF
- ZPL to PNG
- File viewer
- Label dimensions
- 4×6 template
- Code 128 example
- QR code example
- Bulk ZPL to PDF
- Bulk ZPL to PNG
- CSV to ZPL label generator
- Bulk Code 128 barcode label generator
- Bulk QR code label generator
- Sequential inventory label generator
- Merge ZPL files
- Split ZPL files
ZPL command reference: Zebra documentation. Rendering: Labelary API.