ZPL commands

^B8 · EAN-8 Bar Code

Generates an EAN-8 barcode 8 digits; compact EAN variant for small items .

Generates an EAN-8 barcode (8 digits; compact EAN variant for small items).

Parameters

  • ^B8o,h,f,g - o: Orientation (N/R/I/B)
  • ^B8o,h,f,g - h: Bar code height in dots
  • ^B8o,h,f,g - f: Print interpretation line (Y/N)
  • ^B8o,h,f,g - g: Print interpretation line above code (Y/N)

Example

^XA
^FO50,50^BY2^B8N,80,Y,N^FD96385074^FS
^XZ
ZPL preview: ^B8 · EAN-8 Bar Code

Tip

The check digit is calculated automatically - provide 7 or 8 digits in ^FD.