Graphic box – Dascom 7010 Programmers Manual ZPL User Manual
Page 50

50
Graphic Box
Description:
The ^GB command is used to draw boxes and/or lines as part of a label format. Boxes and lines are
use to highlight important information, divide labels into distinct areas, or just dress up the way the
label looks. The same format command is used for drawing either boxes or lines.
Format: ^GBw,h,t,c,r
Parameters:
w = box width(in dots)
Accepted Values: value of t to 7999(200dpi) / t to 11998(300dpi)
Default Value: value used for thickness(t) or 1
h = box height (in dots)
Accepted Values: 1 to 7999(200dpi) / 1 to 11998(300dpi)
Default Value: value used for thickness(t) or 1
t = border thickness(in dots)
Accepted Values: 1 to 7999(200dpi) / 1 to 11998(300dpi)
Default Value: value used for thickness (t) or 1
c = not care
r = not care
For the w and h parameters, keep in mind that printers will have a default of 8,12 dots/millimeter.
This comes out to 200,300 dots per inch. To determine the values for w and h, calculate the
dimensions in millimeters and multiply by 8,12.
If the width and height are not specified, you will get a solid box with its width and height as
specified by value t.
Examples:
Width:1.5 inch; Height:1 inch; Thickness:10
^XA^FO150,100
^GB305,203,10^XZ