^B8

^B8

The
^B8
command is the shortened version of the EAN-13 barcode. EAN is an acronym for European Article Numbering. Each character in the EAN-8 barcode is composed of four elements: two bars and two spaces.

EAN-8 Barcode

  • ^B8
    supports a fixed ratio.
  • Field data (
    ^FD
    ) is limited to exactly seven characters. ZPL II automatically pads or truncates on the left with zeros to achieve the required number of characters.
  • When using JAN-8 (Japanese Article Numbering), a specialized application of EAN-8, the first two non-zero digits sent to the printer are always 49.
If additional information about this bar code is required, go to aimglobal.org.
Format:
^B8o,h,f,g
Parameters
Details
o =
orientation
Values:
N =
normal
R =
rotated 90 degrees (clockwise)
I =
inverted 180 degrees
B =
read from the bottom up, 270 degrees
Default:
current
^FW
value
h =
bar code height (in dots)
Values:
1
to
32000
Default:
value set by
^BY
f =
print interpretation line
Values:
N =
no
Y =
yes
Default:
Y
g =
print interpretation line above code
Values:
N =
no
Y =
yes
Default:
N
Example
This is an example of an EAN-8 barcode: