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.
Q<h>,<gap>N
q812
Q1218,24
P2Open this example in the preview →
Output of the example above in our renderer (203 dpi). Not verified on a physical printer.
| Parameter | Meaning |
|---|---|
h | Label height (length) in dots; the preview clamps it to 64–4064 dots |
gap | Gap between two labels in dots; used by the printer's feed, not drawn in the preview |
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.
ZPL equivalent: ^LL · TSPL SIZE · TSPL GAP · Language comparison
N · q · A · B · LO · LW · X · P · R · S · D · I · JF · ZT · ZB · FS · FE · FR · FK · FI · V · ?