Sign In
Products
ZPL ViewerBarcode GeneratorImage → ZPLZPL cheat sheetLabel DesignerTemplate Gallery
Developers
API QuickstartAPI ReferenceMCP ServerBulk GenerationWebhooksSDKs & ExamplesLimitsDirectPrint agent NewGitHub ActionVS Code extensionOn-Premise
Solutions
Logistics & ShippingE-CommerceERP & WMSManufacturingRetailHealthcare & LaboratoryAll solutions
Tools
ZPL Diagnostics HubZPL DebuggerSize & DPI AnalyzerDPI ConverterBarcode fit calculatorShipping Label AnalyzerFont InspectorOrientation DebuggerCalibration AssistantPrinter Compatibility CheckerBarcode Readability CheckerPrinter Language DetectorThermal Printer Test PackZPL ToolsEPL ToolsTSPL ToolsCPCL ToolsPrinter Language ConverterAll ToolsGuidesPricing
Language
EnglishTürkçeDeutsch
Home›All CPCL commands›PAGE-WIDTH

PAGE-WIDTH — Page width

Declares the printable width in dots; anything beyond it is clipped on the right.

Engine status: Rendered

This command produces visible output in the preview.

Syntax

PAGE-WIDTH <w>

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
wPrintable width in dots; 64–1664 in the preview, 576 when the command is missing

Common mistake

Omitting PAGE-WIDTH on a wider printer: the preview then assumes 576 dots (about 3 in at 203 dpi), so on a 4-inch label everything beyond x 576 is cut off.

The same job in other languages

ZPL equivalent: ^PW · Language comparison

All CPCL commands

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

All CPCL commands