Skip to content

^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

ParameterWhat it doesValues
aOrientation.N only
bModel.1 or 2; 2 is the standard, default 2
cMagnification: size of one module, in dots.1 to 100; default 1–3 by density
dError correction (also set in ^FD).H, Q, M, L
eMask.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.

Try it

Preview

100%

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.

Related commands