Plain English

Draws an ellipse (oval) inside a `w × h` bounding box. When `w == h` the result is a circle. **Fill rule:** mirrors `^GB` — when `t >= min(w, h) / 2` the printer renders a solid filled shape rather than a stroked outline. White (`c = W`) knocks out the underlying ink.

When to use

For oval shapes, circular badge backgrounds, or knock-out spotlights over filled regions. To force a solid filled circle, set `t >= w/2` (with `w == h`); to force a clean outline, keep `t` well below `min(w,h)/2`.

Syntax

^GEw,h,t,c

Parameters

ParameterDescription
wWidth in dots (3–4095)
hHeight in dots (3–4095). Equal to `w` for a circle.
tBorder thickness in dots. Fill triggers when `t >= min(w, h) / 2`.
cColour: `B` (black) or `W` (white — knocks out underlying ink for spot effects).

Example

^XA
^FO50,50^GE300,100,3,B^FS
^FO400,50^GE100,100,50,B^FS
^XZ

Wide outlined ellipse on the left; on the right, a 100×100 with `t=50` triggers fill — solid black circle.

Try it in the playground View all ZPL commands