^GB · Graphic Box
Draws lines or boxes.
Values
Width, height, thickness. Example: ^GB700,3,3
Example
^XA
^FO50,50^GB300,200,3^FS
^XZTip
If height or width is 0, a line is drawn.
Frequently asked questions
What is ^GB used for in ZPL?
See the description and values above: they explain what ^GB does and how to use it inside a ZPL label.
How do I test ^GB without a printer?
Copy the example, paste it into the ZPL viewer and see the result instantly in your browser.
