Specifications

Graphic Box
The ^GB (Graphic Box) instruction is used to draw boxes and/or lines
as part of a label format. Boxes and lines can be use to highlight
important information, divide labels into distinct areas, or just dress
up the way the label looks. The same format instruction is used for
drawing either boxes or lines.
Example for Drawing a Box
The following are the instructions to draw a box 1 inch high, 1.5
inches wide and a line thickness of 10 dots.
Example for Drawing a Vertical Line
The following are the instructions to draw a vertical line 1 inch high
with a line thickness of 20 dots.
Example for Drawing a Horizontal Line
The following are the instructions to draw a horizontal line 1 inch
long with a line thickness of 30 dots.
230 ZPL II COMMAND REFERENCE
^XA
^FO150,100
^GB0,203,20
^XZ
^XA
^FO150,100
^GB305,203,10
^XZ
^XA
^FO150,100
^GB203,0,30
^XZ
^G B