Every command the Labelixa CPCL preview understands, with syntax, an example and its honest support status. Commands outside this list are reported by the validator as unknown.
| Command | Syntax | Status | Description |
|---|---|---|---|
! | ! <ofset> <xres> <yres> <h> <adet>! 0 200 200 210 1 | Supported | Opens a print session: offset, horizontal and vertical resolution, label height in dots and copy count. Height and copies drive the preview. |
PAGE-WIDTH | PAGE-WIDTH <w>PAGE-WIDTH 576 | Supported | Sets the label width in dots (short form PW). Without it the preview uses 576 dots. |
TEXT | TEXT <font> <boyut> <x> <y> <veri>TEXT 4 0 30 40 Hello World | Partial | Draws text (short form T): font number, sub-size, x, y, then the data as the rest of the line. Font heights are approximate; the sub-size is outside the MVP. |
TEXT90 | TEXT90 <font> <boyut> <x> <y> <veri>TEXT90 4 0 30 40 Dikey | Partial | Text rotated 90° counter-clockwise; otherwise identical to TEXT. |
TEXT180 | TEXT180 <font> <boyut> <x> <y> <veri>TEXT180 4 0 30 40 Ters | Partial | Text rotated 180°; otherwise identical to TEXT. |
TEXT270 | TEXT270 <font> <boyut> <x> <y> <veri>TEXT270 4 0 30 40 Dikey | Partial | Text rotated 270° counter-clockwise; otherwise identical to TEXT. |
BARCODE | BARCODE <tip> <dar> <oran> <h> <x> <y> <veri>BARCODE 128 1 1 100 50 150 123456 | Partial | Draws a barcode (short form B): type, narrow width, ratio, height, x, y, data. MVP types: 128, 39, EAN13, UPCA — the shared zint path also used by the ZPL engine. |
LINE | LINE x1 y1 x2 y2 tLINE 0 300 560 300 2 | Supported | Draws a line between two points with the given thickness (short form L). |
BOX | BOX x1 y1 x2 y2 tBOX 10 10 560 200 2 | Supported | Draws a rectangle outline between two corners with the given border thickness. |
PRINT | PRINTPRINT | Supported | Ends the session and prints; the preview treats it as the end of the label. |
FORM | FORMFORM | Printer-only | Feeds to the top of the next form — a printer action with no effect on the image. |
CONTRAST | CONTRAST nCONTRAST 0 | Printer-only | Sets print darkness on the device; recognized, not drawn. |
TONE | TONE nTONE 0 | Printer-only | Fine-tunes print darkness; recognized, not drawn. |
SPEED | SPEED nSPEED 3 | Printer-only | Sets print speed on the device; recognized, not drawn. |
JOURNAL | JOURNALJOURNAL | Printer-only | Switches to journal (continuous) media mode; recognized, not drawn. |
SETMAG | SETMAG w hSETMAG 2 2 | Printer-only | Magnifies the following text by integer factors; outside the MVP, so recognized but not applied. |
CENTER | CENTER [genislik]CENTER | Printer-only | Centers the following fields; layout justification is outside the MVP, so recognized but not applied. |
Render your code: CPCL viewer
Something wrong? Tell us.
Your label content is NOT sent; only your message, the page you are on and the build version.