^B8 — EAN-8 Barcode

ZPL course · ZPL FAQ

Command reference: Labelary ZPL introduction.

Below, commands are bold, parameters are colored, field data stays plain.

^B8 — EAN-8 Barcode

Goal

Print an EAN-8 barcode with ^B8.

Description

^B8 prints EAN-8: the 8-digit retail barcode, 7 payload digits plus a check digit. (MaxiCode is a different command, ^BD.)

Example

^XA
^BY3
^FO20,20^B8N,70,Y,N^FD12345670^FS
^XZ

Rendered ^B8 label

Result

A valid EAN-8 symbol — the last digit (0) is the check digit of 1234567.

Article author: Arthur Isaev