^BQ QR Code
QR Code. The data starts with an error correction and input mode, e.g. QA,
Barcodes · Updated 2026-10-20
Syntax
^BQa,b,c,d,e
Parameters
| Parameter | What it does | Values |
|---|---|---|
a | Orientation. | N only |
b | Model. | 1 or 2; 2 is the standard, default 2 |
c | Magnification: size of one module, in dots. | 1 to 100; default 1–3 by density |
d | Error correction (also set in ^FD). | H, Q, M, L |
e | Mask. | 0 to 7; default 7 |
Common mistakes
- The ^FD starts with the error correction and input mode: QA, = level Q, automatic. Without it the first two characters are eaten.
- The QR is shifted down by the current ^BY height, as on a printer. After a tall barcode, reset with ^BY2,3,10.
Example
Edit the code and the label redraws. This is the same engine as the API.
Questions
What does ^BQ do in ZPL?
QR Code. The data starts with an error correction and input mode, e.g. QA,
What is the syntax of ^BQ?
^BQa,b,c,d,e
What should I watch out for with ^BQ?
The ^FD starts with the error correction and input mode: QA, = level Q, automatic. Without it the first two characters are eaten.