^B8 EAN-8
EAN-8 retail barcode.
Barcodes · Updated 2026-10-20
Syntax
^B8o,h,f,g
Parameters
| Parameter | What it does | Values |
|---|---|---|
o | Rotation. | N, R, I, B |
h | Bar height, in dots. | default: ^BY's |
f | Human-readable line. | Y or N |
g | Line 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.
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.