Sign In
Products
ZPL ViewerBarcode GeneratorImage → ZPLZPL cheat sheetLabel DesignerTemplate Gallery
Developers
API QuickstartAPI ReferenceMCP ServerBulk GenerationWebhooksSDKs & ExamplesLimitsDirectPrint agent NewGitHub ActionVS Code extensionOn-Premise
Solutions
Logistics & ShippingE-CommerceERP & WMSManufacturingRetailHealthcare & LaboratoryAll solutions
Tools
ZPL Diagnostics HubZPL DebuggerSize & DPI AnalyzerDPI ConverterBarcode fit calculatorShipping Label AnalyzerFont InspectorOrientation DebuggerCalibration AssistantPrinter Compatibility CheckerBarcode Readability CheckerPrinter Language DetectorThermal Printer Test PackZPL ToolsEPL ToolsTSPL ToolsCPCL ToolsPrinter Language ConverterAll ToolsGuidesPricing
Language
EnglishTürkçeDeutsch
Home›ZPL Lint Rules›ZPL0001

ZPL0001 — Missing ^XA

A ^ command appears before any ^XA. Everything outside a format is not part of a label: printers ignore it and the preview has nothing to draw.

SeverityError
CategoryStructure
Quick-fixavailable in the editor and VS Code

Label that triggers it

^FO50,50^A0N,40^FDHELLO^FS

Finding: ZPL0001 · line 1:1 — Missing ^XA — the label format never starts

Open the broken label in the editor →

How to fix it

Start the format with ^XA before the first command. The editor offers the insertion as a quick-fix when the document has no ^XA at all.

Corrected label

^XA^FO50,50^A0N,40^FDHELLO^FS^XZ

Open the corrected label in the editor

Commands involved

^XA

ZPL0002 Missing ^XZ · ZPL0003 Nested ^XA · ZPL0004 ^XZ without ^XA

In CI

npx labelixa validate "labels/**/*.zpl" lints your files and prints this page's address next to each finding. /docs/cli

Lint your ZPL now