FastZPL

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.

Label preview

Your rendered label will appear here.

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

ZPL command reference: Zebra documentation. Rendering: Labelary API.