Plain English

Draws a text field at the specified position. You choose the font, rotation, and enlargement multipliers. TSPL combines position, font, and text data in a single command — unlike SBPL which uses separate commands for each.

When to use

Whenever you need to print text on the label. This is the primary text command in TSPL.

Syntax

TEXT x,y,"font",rotation,x-mul,y-mul,"data"

Parameters

ParameterDescription
xHorizontal position in dots from the left edge
yVertical position in dots from the top edge
fontFont name: "1" (8x12), "2" (12x20), "3" (16x24), "4" (24x32), "5" (32x48), or TrueType name
rotation0 (0 deg), 90, 180, or 270
x-mulHorizontal enlargement (1-10)
y-mulVertical enlargement (1-10)
dataThe text string to print (in double quotes)

Example

TEXT 50,30,"4",0,1,1,"Hello World"

Print "Hello World" at position 50,30 using font 4

Try it in the playground View all TSPL commands