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

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 · O · FS · FE · FR · FK · FI · V · ? · PA

All EPL commands