Guides › ZPL label prints upside down

ZPL label prints upside down

Published:

Health report

The label comes out rotated 180 degrees — or one field lies sideways while the rest stand straight. ZPL has three separate switches that rotate things, they stack on top of each other, and the fix depends on which one is set. Guessing costs labels; reading the file does not.

The three rotation switches

Read the file before touching the printer

Search the ZPL for ^PO, ^FW and the first parameter of each ^A. Everything upside down → ^POI. Everything sideways → ^FW. One field off → that field's ^A letter. The printer's own default orientation (set from the front panel or a driver) matters only when the file says nothing — an explicit command in the file always wins, which is also the robust fix: state the orientation you want instead of inheriting whatever the printer remembers.

Upside down vs. mirrored

Rotation and mirroring are different failures. A label that reads back-to-front (mirror writing) is not a ZPL rotation — no combination of ^PO/^FW/^A mirrors text. That points at a driver or export step, typically a "mirror image" option meant for printing on transparent stock from the inside.

Check it without a printer

A browser preview applies ^FW and the per-field ^A orientations exactly as a printer would, and a structural check flags an invalid orientation letter — the typo that silently changes a field's direction. ^PO is different: the flip happens inside the printer at print time, so a preview correctly shows the label upright — if the file says ^POI, expect the physical output rotated 180° relative to what you see.

Frequently asked questions

Why does my ZPL label print upside down?

Almost always ^POI in the file: it prints the whole label rotated 180 degrees. It was set for a printer mounted the other way and the file then travelled to a normally mounted one. Remove it or set ^PON explicitly.

Why is all my text sideways but the layout otherwise right?

A ^FW command near the top of the file sets the default rotation every following field inherits — ^FWR silently turns everything 90 degrees. One sideways field among straight ones is that field's own ^A orientation letter instead.

The label prints in mirror writing — which ZPL command is it?

None. No combination of ^PO, ^FW and ^A mirrors text; ZPL rotates, it does not flip. Mirror writing points at a driver or export option, typically a mirror-image setting meant for printing on transparent stock from the inside.

Related guides

What is ZPL?

ZPL is the language Zebra thermal printers understand. How to read the commands, how a label is put together, and the most common mistakes.

Which barcode symbology should I use?

EAN-13, Code 128 or QR? Practical rules for picking a barcode based on your data, your space and the scanner that has to read it.

How to preview a ZPL file without a printer

A ZPL file is just text — the label only exists once something draws it. Three practical ways to see a ZPL label before it reaches the printer.

Try your own ZPL code →