Skip to content

^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

ParameterWhat it doesValues
oRotation.N, R, I, B
hBar height, in dots.default: ^BY's
fPrint the human-readable line.Y or N; default Y
gPut that line above the code.Y or N; default N
eUCC check digit.Y or N; default N
mMode.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.

Try it

Preview

100%

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.

Related commands