Skip to content

^B8 EAN-8

EAN-8 retail barcode.

Barcodes · Updated 2026-10-20

Syntax

^B8o,h,f,g

Parameters

ParameterWhat it doesValues
oRotation.N, R, I, B
hBar height, in dots.default: ^BY's
fHuman-readable line.Y or N
gLine above.Y or N

Common mistakes

  • Send 7 digits; the 8th is the check digit.

Example

Edit the code and the label redraws. This is the same engine as the API.

Try it

Preview

100%

Questions

What does ^B8 do in ZPL?

EAN-8 retail barcode.

What is the syntax of ^B8?

^B8o,h,f,g

What should I watch out for with ^B8?

Send 7 digits; the 8th is the check digit.

Related commands