Barcode width changes depending on what printed before

This label relies on a ^BY set by a previous label. Printed on its own, or after a different job, the barcode comes out a different size. Set ^BY explicitly inside every ^XA block that draws a barcode.

will failSTATE-BY-LEAK-001state
A label that trips it
^XA^BY4^FO50,50^BCN,100,Y,N,N^FD123^FS^XZ
^XA^FO50,50^BCN,100,Y,N,N^FD456^FS^XZ
The fix

Set ^BY explicitly inside every ^XA block that draws a barcode.

What the check looks for

An ^XA…^XZ block containing ^BC/^B3 with NO ^BY inside that same block, in a stream where an earlier block set ^BY.

What Labelproof says about it

The engine is not reachable right now.

Why it fails

This label relies on a ^BY set by a previous label. Printed on its own, or after a different job, the barcode comes out a different size.

Why this matters

Zebra: "Once a ^BY command is entered into a label format, it stays in effect until another ^BY command is encountered." This is the 'only the second label in the batch is broken' bug. Nobody else documents it.

Check your own label

No signup, and we do not store your labels.

Open the linter