^PQ Print Quantity
Sets how many labels print, how many print between pauses, how many times each serial number repeats, and how cutting behaves around pauses and error labels.
^PQq,p,r,o,e
^PQ parameters
| Parameter | Meaning | Accepted values | Default |
|---|---|---|---|
qtotal quantity of labels to printp. 324 |
The total number of labels to print. |
|
1
|
ppause and cut value (labels between pauses)p. 324 |
How many labels print in each group before the printer pauses. The parameter's name pairs this with cutting; the o parameter text says the printer cuts but does not pause when o is Y. The default 0 is outside the printed range of 1 to 99999999; the guide describes it as no pause. |
|
0No pause. |
rreplicates of each serial numberpp. 324, 342 |
How many replicates of each serial number are printed. The guide does not say whether the replicates are counted in addition to the first print; the |
|
0No replicates. |
ooverride pause countp. 324 |
Whether the printer skips the pause after each group of p labels. |
|
N
|
ecut on error label (an RFID void is an error label)p. 324 |
Whether a cutter makes a cut after a voided RFID label. |
|
Y
|
^PQ notes and gotchas
-
Interaction
With o set to Y the printer cuts but does not pause, and it does not pause after each group count. With o set to N, the default, it pauses after every group count of labels.
p. 324 -
Interaction
The
p. 342^SNentry says a serial-numbered field is incremented or decremented only after all replicates of each serial number have been printed, as set by the r parameter of^PQ. -
Note
The guide's own examples use q 50 and p 10 with r 1, one with o set to Y (no pause after groups) and one with N (pause after each group of 10).
p. 324 -
Note
The entry does not state where in the format
p. 324^PQmust appear. -
Guide issue
The
pp. 324, 342^SNentry (page 342) calls^PQthe 'print quality' command, while the^PQentry is titled Print Quantity. The parameter e text on page 324 also misspells RFID as RIFD.
^PQ example
^XA ^FO30,25^A0N,36,36^FDBatch^FS ^PQ12,4,0,N ^XZ
Asks for 12 labels in total, in groups of 4. Because o is N, the printer pauses after each group of 4. The r value 0 means no serial-number replicates.
Guides that use ^PQ
BarcoderX is a .NET SDK for thermal labels and barcodes. See how it prints and exports labels.
Source Zebra, ZPL II, ZBI 2, Set-Get-Do, Mirror, WML Programming Guide, P1134473-11EN Rev A, 2026/07/05, pages 60, 190, 201, 204, 305, 324, 341, 342.
Written by BarcoderX in its own words. Checked against the guide on 2026-11-14.
ZPL and ZPL II are trademarks of Zebra Technologies Corporation. This reference is written by BarcoderX in its own words from Zebra's published programming guide. BarcoderX is an independent product and is not affiliated with, endorsed by or sponsored by Zebra Technologies.