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›ZPL4001

ZPL4001 — Barcode without data

A barcode command reaches ^FS without a ^FD. There is nothing to encode, so the preview and the printer skip the barcode entirely.

SeverityWarning
CategoryBarcodes

Label that triggers it

^XA^FO50,50^BY2^BCN,100,Y,N,N^FS^XZ

Finding: ZPL4001 · line 1:16 — ^BC has no data (^FD); the barcode will be skipped

Open the broken label in the editor →

How to fix it

Add ^FD with the data to encode between the barcode command and ^FS.

Corrected label

^XA^FO50,50^BY2^BCN,100,Y,N,N^FD12345678^FS^XZ

Open the corrected label in the editor

Commands involved

^BC · ^FD

ZPL4002 EAN-13 data is not 12–13 digits · ZPL4003 GS1 data without GS1 mode (no FNC1) · ZPL4004 GS1 check digit is wrong · ZPL4005 GS1 AI value has the wrong length · ZPL4006 GS1 check digit set by the printer

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