^GC Graphic Circle
Draws a circle from a diameter, an outline thickness and a color.
^GCd,t,c
^GC parameters
| Parameter | Meaning | Accepted values | Default |
|---|---|---|---|
dcircle diameter (in dots)p. 212 |
The diameter (width) of the circle. |
3 to 4095; larger values are replaced with 4095. |
3
|
tborder thickness (in dots)p. 212 |
The thickness of the outline. The thickness extends inward from the outline. |
|
1
|
cline colorp. 212 |
The color of the outline. |
|
B
|
^GC notes and gotchas
-
Interaction
Compared with
pp. 210, 212^GB: a box accepts width and height up to 32000 and a thickness from 1 to 32000, and it requires width and height to be at least the thickness; it also has a corner-rounding value (page 210).^GCstops at 4095 for the diameter, starts its thickness at 2, and the entry states no relation between the diameter and the thickness (page 212). -
Interaction
The
pp. 201, 205, 212^FOentry says it sets the upper-left corner of the field area (page 201), and the guide's own^GCexample is positioned with^FO(page 212). The table of typesetting origins for^FT(Table 7, page 205) covers text, bar codes, graphic boxes and images and has no row for circles, so the guide does not say where^FTplaces a^GC. -
Note
The guide describes d as the diameter (width) of the circle and says the thickness extends inward from the outline.
p. 212 -
Note
The guide recommends following every command that creates a printable line with
pp. 204, 212^FS(page 204), and its^GCexample ends the field that way. -
Note
Not stated by the guide: whether
pp. 212, 312^MUunits apply to d and t. The entry labels both in dots, and the^MUexamples use only^FOand^GB(page 312). -
Guide issue
The default for t is 1, but the accepted range for t starts at 2. The guide does not comment on this.
p. 212 -
Guide issue
Table 47 on page 1759 lists
p. 1759^GB,^GC,^GDand^GEtogether, but its row for^GDrepeats the^GCdescription instead of describing a diagonal line. Use the^GDentry itself for^GD.
^GC example
^XA ^FO60,60^GC180,8,B^FS ^FO300,60^GC120,20^FS ^XZ
Two circles. The first has a diameter of 180 dots and an 8-dot outline, with the color B written out, and its field origin is 60 dots from the left and 60 dots down. The second starts 300 dots from the left, has a diameter of 120 dots and a 20-dot outline, and leaves out the color, so it takes the default, B. Dropping a trailing parameter is the same shortening the guide describes for other commands.
Guides that use ^GC
BarcoderX is a .NET SDK for thermal labels and barcodes. See how it prints and exports labels.
Source Zebra, ZPL II, ZBI 2, Set-Get-Do, Mirror, WML Programming Guide, P1134473-11EN Rev A, 2026/07/05, pages 201, 204, 205, 210, 212 to 214, 312, 1759, 1765.
Written by BarcoderX in its own words. Checked against the guide on 2026-11-14.
ZPL and ZPL II are trademarks of Zebra Technologies Corporation. This reference is written by BarcoderX in its own words from Zebra's published programming guide. BarcoderX is an independent product and is not affiliated with, endorsed by or sponsored by Zebra Technologies.