^GE Graphic Ellipse
Draws an ellipse from a width, a height, an outline thickness and a color.
^GEw,h,t,c
^GE parameters
| Parameter | Meaning | Accepted values | Default |
|---|---|---|---|
wellipse width (in dots)p. 214 |
The width of the ellipse. |
3 to 4095; larger values are replaced with 4095. |
The value used for the thickness t, or 1. |
hellipse height (in dots)p. 214 |
The height of the ellipse. Only the width entry says that larger values are replaced with 4095. |
|
The value used for the thickness t, or 1. |
tborder thickness (in dots)p. 214 |
The thickness of the outline. |
|
1
|
cline colorp. 214 |
The color of the outline. |
|
B
|
^GE notes and gotchas
-
Interaction
Compared with
pp. 212, 214^GC: a circle takes one diameter, while an ellipse takes a width and a height. Thickness and color have the same values and the same defaults in both: thickness 2 to 4095 with default 1, color B or W with default B (pages 212 and 214). -
Interaction
Compared with
pp. 210, 214^GB: a box accepts width and height up to 32000, where^GEstops at 4095, and its thickness starts at 1, where^GEstarts at 2. A box also requires width and height to be at least the thickness and has a corner-rounding value (page 210); the^GEentry states no relation between w, h and t. -
Interaction
The
pp. 201, 205, 214^FOentry says it sets the upper-left corner of the field area (page 201), and the guide's own^GEexample is positioned with^FO(page 214). The table of typesetting origins for^FT(Table 7, page 205) has no row for ellipses, so the guide does not say where^FTplaces a^GE. -
Note
The guide recommends following every command that creates a printable line with
pp. 204, 214^FS(page 204), and its^GEexample ends the field that way. -
Note
Not stated by the guide: whether
pp. 214, 312^MUunits apply to w, h and t. The entry labels them in dots, and the^MUexamples use only^FOand^GB(page 312). -
Guide issue
The defaults and the accepted ranges overlap oddly: w and h default to t or 1 but their range starts at 3, and t defaults to 1 but its range starts at 2. The guide does not comment on this.
p. 214
^GE example
^XA ^FO60,60^GE300,140,6,B^FS ^FO60,240^GE220,90,4^FS ^XZ
Two ellipses. The first is 300 dots wide and 140 high with a 6-dot outline, with the color B written out, and its field origin is 60 dots from the left and 60 dots down. The second is 220 dots wide and 90 high with a 4-dot outline, starts at the same distance from the left and 240 dots down, and leaves out the color, so it takes the default, B.
Guides that use ^GE
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, 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.