Encode an EAN-13 symbol from 12 digits (the check digit is computed) or 13 digits (the supplied check digit is verified).
12 or 13 ASCII digits.
The symbol matrix (60 rows), without quiet zone.
If data is not 12 or 13 ASCII digits, or the supplied check digit is wrong.
data
Encode an EAN-13 symbol from 12 digits (the check digit is computed) or 13 digits (the supplied check digit is verified).