^BE — EAN-13
Plain English
The barcode on almost every product in a shop outside North America — the international version of UPC. **You supply 12 digits; the printer auto-calculates the 13th (check digit).** Numeric-only — letters or symbols cause the field to be rejected. The full GTIN-13 / EAN displayed below the barcode is 12 input + 1 calculated.
When to use
For retail products sold internationally. If you have a GTIN-13 or EAN number with 13 digits already, supply only the first 12 — the printer recomputes the check digit. Supplying all 13 will likely fail validation.
Syntax
^BEo,h,f,g
Parameters
| Parameter | Description |
|---|---|
o | Rotation: N, R, I, B |
h | Bar height in dots |
f | Show human-readable text: Y or N |
g | Text above: Y or N |
Example
^XA ^FO50,50^BY2^BEN,80,Y,N^FD590123412345^FS ^XZ
12 numeric digits in `^FD`. The printer adds the check digit automatically; the rendered barcode and human-readable text show all 13.