^BC Code 128
Code 128 barcode, the most common one on shipping labels.
Barcodes · Updated 2026-10-20
Syntax
^BCo,h,f,g,e,m
Parameters
| Parameter | What it does | Values |
|---|---|---|
o | Rotation. | N, R, I, B |
h | Bar height, in dots. | default: ^BY's |
f | Print the human-readable line. | Y or N; default Y |
g | Put that line above the code. | Y or N; default N |
e | UCC check digit. | Y or N; default N |
m | Mode. | N = normal, U = UCC, A = automatic, D = GS1/UCC-128 |
Common mistakes
- Mode A picks the subsets for you and gives the shortest code for numeric data.
- A code wider than the label is cut off: lower the ^BY module width.
Example
Edit the code and the label redraws. This is the same engine as the API.
Questions
What does ^BC do in ZPL?
Code 128 barcode, the most common one on shipping labels.
What is the syntax of ^BC?
^BCo,h,f,g,e,m
What should I watch out for with ^BC?
Mode A picks the subsets for you and gives the shortest code for numeric data.