^GC Graphic Circle

Graphic shapes ZPL caret command

Draws a circle from a diameter, an outline thickness and a color.

Format ^GCd,t,c

^GC parameters

Parameters of ^GC
ParameterMeaningAccepted valuesDefault
dcircle diameter (in dots)p. 212

The diameter (width) of the circle.

3 to 4095 dots

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.

2 to 4095 dots

1
cline colorp. 212

The color of the outline.

  • Bblack
  • Wwhite
B

^GC notes and gotchas

  • Interaction

    Compared with ^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). ^GC stops at 4095 for the diameter, starts its thickness at 2, and the entry states no relation between the diameter and the thickness (page 212).

    pp. 210, 212
  • Interaction

    The ^FO entry says it sets the upper-left corner of the field area (page 201), and the guide's own ^GC example 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 ^FT places a ^GC.

    pp. 201, 205, 212
  • 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 ^FS (page 204), and its ^GC example ends the field that way.

    pp. 204, 212
  • Note

    Not stated by the guide: whether ^MU units apply to d and t. The entry labels both in dots, and the ^MU examples use only ^FO and ^GB (page 312).

    pp. 212, 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 ^GB, ^GC, ^GD and ^GE together, but its row for ^GD repeats the ^GC description instead of describing a diagonal line. Use the ^GD entry itself for ^GD.

    p. 1759

^GC example

example.zplZPL
^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.