^PQ Print Quantity

Print control, media and print mode ZPL caret command

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.

Format ^PQq,p,r,o,e

^PQ parameters

Parameters of ^PQ
ParameterMeaningAccepted valuesDefault
qtotal quantity of labels to printp. 324

The total number of labels to print.

1 to 99999999 labels

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.

1 to 99999999 labels

0

No 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 ^SN entry (page 342) says serial numbers change only after all replicates of the current one have been printed.

0 to 99999999 replicates

0

No replicates.

ooverride pause countp. 324

Whether the printer skips the pause after each group of p labels.

  • NNo: the printer pauses after every group of labels.
  • YYes: the printer cuts but does not pause after each group.
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.

  • NNo: with a cutter installed, a cut follows a voided RFID label only if a cut would also follow the non-voided label and this was the last retry.
  • YYes: with a cutter installed, a cut follows any 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 ^SN entry 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.

    p. 342
  • 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 ^PQ must appear.

    p. 324
  • Guide issue

    The ^SN entry (page 342) calls ^PQ the 'print quality' command, while the ^PQ entry is titled Print Quantity. The parameter e text on page 324 also misspells RFID as RIFD.

    pp. 324, 342

^PQ example

example.zplZPL
^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.