Plain English

Draws an ellipse inside a width × height bounding box. Like CIRCLE, (x,y) anchors the upper-left corner of the bounding box — not the centre — so the rendered centre lands at (x + width/2, y + height/2). ELLIPSE is a TSC firmware addendum (TX/TE/MH-series) — not in the 2009 TSPL2 PG.

When to use

When you need an oval outline — chamfered seals, status indicators, decorative borders. For a true circle use CIRCLE (single diameter); ELLIPSE distinguishes horizontal and vertical radii.

Syntax

ELLIPSE x,y,width,height,thickness

Parameters

ParameterDescription
x
Upper-left X coordinate of the bounding box in dots (NOT the centre)
y
Upper-left Y coordinate of the bounding box in dots (NOT the centre)
width
Width of the bounding box in dots
height
Height of the bounding box in dots
thickness
Stroke thickness in dots

Example

ELLIPSE 100,100,200,150,3

Draw a 200×150 ellipse anchored at (100,100) with a 3-dot outline

Try it in the playground View all TSPL commands