ZPL ^GB box prints as a solid black rectangle

This ^GB is thicker than it is wide or tall, so it prints as a solid black block — and if it sits beside a barcode it destroys the quiet zone. Reduce the border thickness, or draw the block deliberately.

will failBC-12barcode
A label that trips it
^XA^FO50,50^GB20,100,30^FS^XZ
Rendered example
The fix

Reduce the border thickness, or draw the block deliberately.

What the check looks for

^GB whose border thickness is greater than or equal to its width or its height.

What Labelproof says about it2 findings · BC-12 highlighted
will failLY-02^XA · offset 0 · label 1

Neither ^PW nor ^LL is set. Both fall back to a value stored in the individual printer, not to a value in the spec — so the same ZPL prints differently on two printers of the same model.

Set ^PW and ^LL explicitly in every format.

the rule on this page
will failBC-12^GB20,100,30 · offset 3 · label 1

This ^GB is thicker than it is wide or tall, so it prints as a solid black block — and if it sits beside a barcode it destroys the quiet zone.

Reduce the border thickness, or draw the block deliberately.

Why it fails

This ^GB is thicker than it is wide or tall, so it prints as a solid black block — and if it sits beside a barcode it destroys the quiet zone.

Check your own label

No signup, and we do not store your labels.

Open the linter