A barcode command reaches ^FS without a ^FD. There is nothing to encode, so the preview and the printer skip the barcode entirely.
^XA^FO50,50^BY2^BCN,100,Y,N,N^FS^XZFinding: ZPL4001 · line 1:16 — ^BC has no data (^FD); the barcode will be skipped
Open the broken label in the editor →
Add ^FD with the data to encode between the barcode command and ^FS.
^XA^FO50,50^BY2^BCN,100,Y,N,N^FD12345678^FS^XZOpen the corrected label in the editor
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
npx labelixa validate "labels/**/*.zpl" lints your files and prints this page's address next to each finding. /docs/cli