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 EPL commands›q

q — Label width

Sets label width in dots. On a 203 dpi printer 812 dots is about 4 inches; a wrong value clips the right edge.

Engine status: Rendered

This command produces visible output in the preview.

Syntax

q<w>

Example

N
q812
Q1218,24
P2

Open this example in the preview →

Open the validator →

Rendered example

Q1218,24

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

Parameters

ParameterMeaning
wLabel width in dots; the preview clamps it to 64–1664 dots (812 = 4 in at 203 dpi)

Common mistake

Mixing up q and Q: EPL command names are case-sensitive, so Q812 sets an 812-dot label HEIGHT, not the width. The width is lowercase q812.

The same job in other languages

ZPL equivalent: ^PW · TSPL SIZE · Language comparison

All EPL commands

N · Q · A · B · LO · LW · X · P · R · S · D · I · JF · ZT · ZB · FS · FE · FR · FK · FI · V · ?

All EPL commands