Prints text with a font number, size and position. The rest of the line is taken as data.
Engine status: Partially rendered
The command is drawn but some of its parameters are ignored; the detail is in the note below.
TEXT <font> <size> <x> <y> <data>! 0 200 200 210 1
PAGE-WIDTH 576
TEXT 4 0 30 40 Hello World
PRINTOpen this example in the preview →
Output of the example above in our renderer (203 dpi). Not verified on a physical printer.
| Parameter | Meaning |
|---|---|
font | Font number; 0–7 have table heights, other values are drawn about 24 dots high |
size | Font sub-size; accepted but not applied by the Labelixa preview |
x y | Start position of the text in dots; fields are space-separated |
data | The rest of the line, printed as-is — no quotes needed |
Quoting the data: CPCL takes the rest of the line verbatim, so TEXT 4 0 30 40 "Hello" prints the quote marks too.
ZPL equivalent: ^A · ^FD · Language comparison
! · PAGE-WIDTH · TEXT90 · TEXT180 · TEXT270 · BARCODE · LINE · BOX · EXPANDED-GRAPHICS · PRINT · FORM · CONTRAST · TONE · SPEED · JOURNAL · SETMAG · CENTER