Sign In
Developers
API QuickstartAPI ReferenceMCP ServerBulk GenerationWebhooksSDKs & ExamplesLimitsDirectPrint agent NewGitHub ActionVS Code extensionOn-Premise
Solutions
Logistics & ShippingE-CommerceERP & WMSManufacturingRetailHealthcare & LaboratoryAll solutionsAll ToolsGuidesPricing
Language
EnglishTürkçeDeutsch

! — Format header

Every CPCL job opens with it: vertical offset, horizontal and vertical resolution (dpi), label height and copy count on one line.

Engine status: Rendered

This command produces visible output in the preview.

Syntax

! <offset> <xres> <yres> <h> <qty>

Example

! 0 200 200 210 1
PAGE-WIDTH 576
PRINT

Open this example in the preview →

Open the validator →

Rendered example

PAGE-WIDTH 576

Output of the example above in our renderer (203 dpi). Not verified on a physical printer.

Parameters

ParameterMeaning
offsetVertical offset of the label; accepted, not applied by the Labelixa preview
xresHorizontal resolution; accepted, the preview always draws at 203 dpi
yresVertical resolution; accepted, the preview always draws at 203 dpi
hLabel height in dots; the preview clamps it to 32–4064
qtyNumber of copies; the preview counts 1–999

Common mistake

Leaving out the ! header: label height and copy count come only from it, so without it the preview falls back to a 600-dot height and the validator warns.

All CPCL commands

PAGE-WIDTH · TEXT · TEXT90 · TEXT180 · TEXT270 · BARCODE · LINE · BOX · EXPANDED-GRAPHICS · PRINT · FORM · CONTRAST · TONE · SPEED · JOURNAL · SETMAG · CENTER

All CPCL commands