How to Fix Mirrored and Rotated Labels Using ZPL and TSPL Rotation Commands
Joe B.
Reviewed for technical accuracy
Specialities: Zebra ZPL, TSC TSPL/TSPL2, Honeywell, BIXOLON, Windows/macOS drivers, Label rotation, Barcodes (EAN/Code128/QR)
Fix mirrored labels, wrong orientation, or upside‑down barcodes — ZPL ^FW/^FR/^LR and TSPL DIRECTION/MIRROR
Quick answer: the accepted fix
Accepted fix when labels print mirrored or rotated (Zebra ZPL / TSC TSPL): set ^FW = N and disable ^FR/^LR (ZPL) or send DIRECTION 0/1 with MIRROR 0 (TSPL), then save to printer memory so orientation persists. Also set Windows Printing Defaults to match.
Rotation keeps resetting after reboot — make ZPL/TSPL orientation persistent
Use vendor utilities (Zebra Setup Utilities, TSC Diagnostic Tool) to write orientation to NV memory. For Zebra, send ! U1 setvar "ezpl.print_orientation" "normal"; for TSC, set DIRECTION, then SAVE. Re‑add the printer queue if Windows policies overwrite defaults.
How to verify rotation and mirror
Print a 2×1 test label with a Code128 and QR code. Check that human‑readable text and barcodes read left‑to‑right and aren’t inverted. If the image is flipped, search your template for ^FR/^LR (ZPL) or MIRROR (TSPL) and remove or set to 0.
Mirrored labels — troubleshooting tips
Most orientation problems come from job‑level commands overriding driver defaults.
Quick path: identify job language → correct ZPL (^FW/^FR/^LR) or TSPL (DIRECTION/MIRROR) → save to printer → set Windows/macOS presets → calibrate. If the setting is greyed out, reinstall the vendor driver (ZDesigner, TSC).
Disclaimer: This information is AI-generated and intended for general guidance only. For advice specific to your environment, please consult a verified expert on Whizz-Tech before making decisions.
Getting Started Is Easy
Ask for help, 24/7
Members enjoy round-the-clock access to 12,000+ verified Experts, including tech support, mechanics, vets, and more.
Expert will respond in minutes
We match you with an Expert who specializes in your situation. Talk, text, or chat — whichever you prefer.
Save time & money
No scheduling hassles or expensive consults. Membership can save you significant time and money each month.
FAQ
Why are my Zebra labels printing mirrored or upside‑down?
Check your ZPL for ^FR/^LR (reverse/mirror) and ^FW (rotation). Remove ^FR and set ^FWN. Save orientation to printer memory with an SGD command so it persists.
How do I fix TSPL rotation on TSC so it stays after reboot?
Set DIRECTION and MIRROR 0 (if supported), then click SAVE in a TSPL script or via the TSC Diagnostic Tool. Also set the Windows queue Printing Defaults to the same orientation.
My app doesn’t send raw ZPL/TSPL — can I still stop mirrored output?
Yes. Use vendor drivers (ZDesigner, TSC, Honeywell, BIXOLON) to set orientation and disable mirror in Printing preferences and Printing Defaults, then write the configuration to the printer’s NV memory.
What commands rotate barcodes and text in ZPL?
Use ^FW for field rotation and each ^A/^B command’s rotation parameter (N/R/I/B = 0/90/180/270). Avoid ^LR unless you need a complete label reverse.
Labels still scan poorly after rotation — what else should I check?
Verify label size (no scaling), calibrate sensors, adjust darkness (^MD) and speed (^PR), and use the correct DPI assets (203/300). Poor contrast or smearing can make codes unreadable.
| Symptom | Likely cause | Quick fix |
|---|---|---|
| Labels print mirrored | ZPL ^FR/^LR or TSPL MIRROR enabled |
Disable mirror (^FRN or MIRROR 0), save to NV memory |
| Upside‑down output | Wrong rotation (^FW/DIRECTION) |
Set ^FWN or correct DIRECTION, store defaults |
| Works once, then reverts | Queue defaults or printer NV not saved | Set Windows Printing Defaults and write config to printer |
| Poor barcode scans | Scaling/darkness/speed mismatch | Match DPI, adjust ^MD/^PR, calibrate sensors |
Step‑by‑step (Windows)
- Open Printers & scanners → your label printer → Printing preferences → set correct Orientation; disable Mirror/Reverse.
- Open Printer properties → Advanced → Printing Defaults → set the same orientation.
- Use vendor tools to save to printer NV: Zebra Setup Utilities (SGD), TSC Diagnostic Tool (
SAVE). - Test print a template with known ZPL/TSPL and confirm rotation persists after reboot.
Step‑by‑step (macOS)
- Re‑add the printer using the vendor driver or AirPrint; pick the exact label size.
- In the print dialog open Layout/Paper Handling → set Rotation and save as a Preset.
- If apps still flip output, check the label template for embedded rotation/mirror commands and remove them.
Sources
- Zebra — ZPL II Programming Guide
- TSC — TSPL/TSPL2 Programmer’s Guide
- Zebra Setup Utilities
- TSC Diagnostic Tool
Filed under: Paper handling & media (jams/feeds/duplex)
Related articles
- How to Fix Kyocera JS7220 Finisher Tray Full Error That Won't Reset
- How to Fix HP LaserJet 41.02.00 Unexpected Size in Tray 2 Error
- How to Fix a Citizen CL-S621 Media Sensor Error That Keeps Coming Back
- Scanner PDFs Rotated — Auto-Deskew & Rotation Lock Fix Guide
- Durable jar/file labels — waterproof media and settings that last
- DYMO 550 “Genuine labels required” — clear lockout & detect rolls
- WMS bin location labels cut off final row — ZPL label length & print width fixes
- CTPAT security seal labels printing misaligned — alignment & calibration guide