ZPL commands
^GB · Graphic box
Draws lines or boxes.
^GB · Graphic box
Draws lines or boxes.
Values
Width, height, thickness. Example: ^GB700,3,3
Example
^XA
^FO50,50^GB300,200,3^FS
^XZ
Tip
With 0 a line is created.
FAQ
What is ^GB used for in ZPL?
See the description and values above: they explain what ^GB does and how it is used in a ZPL label.
How do I test ^GB without a printer?
Copy the example, paste it into the ZPL viewer and see the result immediately in the browser.