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 height and gap

Declares label height and the gap between two labels, in dots. The media sensor stops the feed according to these values.

Engine status: Rendered

This command produces visible output in the preview.

Syntax

Q<h>,<gap>

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
hLabel height (length) in dots; the preview clamps it to 64–4064 dots
gapGap between two labels in dots; used by the printer's feed, not drawn in the preview

Common mistake

Mixing up Q and q: uppercase Q sets label height and gap (Q1218,24), lowercase q the width. Writing the width as Q812 gives an 812-dot-tall label and leaves the width unchanged.

The same job in other languages

ZPL equivalent: ^LL · TSPL SIZE · TSPL GAP · 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