Plain English

Clears the image buffer before drawing a new label. Think of it as pressing "New Document" — it erases any previous content so you start fresh. Every label should begin with CLS after SIZE and GAP.

When to use

Always. Place it after SIZE and GAP to ensure a clean canvas before drawing.

Syntax

CLS

Example

SIZE 100 mm, 60 mm
GAP 3 mm, 0 mm
CLS
TEXT 50,30,"4",0,1,1,"Hello"
PRINT 1

Clear the buffer before drawing a label

Try it in the playground View all TSPL commands