Plain English

The standard barcode on products in the US and Canada. **You supply 11 digits; the printer calculates the 12th (check digit).** Numeric-only — any non-digit causes the field to be rejected. The full 12-digit UPC-A renders below the bars.

When to use

For retail products in North America. If your UPC has 12 digits, supply only the first 11 — the printer recomputes the check digit. Letters or symbols in `^FD` will fail validation, not silently encode.

Syntax

^BUo,h,f,g,e

Parameters

ParameterDescription
oRotation: N, R, I, B
hBar height in dots
fShow human-readable text: Y or N
gText above: Y or N
eCheck digit: Y or N (Y = printer prints the calculated 12th digit alongside, N = printed barcode only)

Example

^XA
^FO50,50^BY2^BUN,80,Y,N^FD07123456789^FS
^XZ

11 numeric digits in `^FD`. The printer computes and appends the 12th check digit automatically.

Try it in the playground View all ZPL commands