beautypg.com

Datamax-O'Neil Class Series Programmer’s Manual User Manual

Page 198

background image

Appendix G – Barcode Details

Class Series Programmer’s Manual

184

F: EAN-13

Valid Characters: 0-9

Length: 13 digits. If the user provides 12 digits, the printer will compute the checksum. If the user
provides the checksum, the printer will check that it matches the expected checksum. If it does not
match, the printer will print all zeros and the expected checksum. See Appendix P.

Valid bar widths: The fourth character of record is the width of the narrow bar in dots. All other bars
are a ratio of the narrow bar (2 times, 3 times, and 4 times the narrow bar width).

The following example prints an EAN-13 bar code:

L
D11
1F0000000150100012345678901
121100000000100Barcode F
E




G: EAN-8

Valid Characters: 0-9

Length: 8 digits. If the user provides 7 digits, the printer will compute the checksum. If the user
provides the checksum, the printer will check that it matches the expected checksum. If it does not
match, the printer will print all zeros and the expected checksum.

Valid bar widths: The fourth character of record is the width of the narrow bar in dots. All other bars
are a ratio of the narrow bar (2 times, 3 times, and 4 times the narrow bar width).

The following example prints an EAN-8 bar code:

L

D11
1G00000001501000123456
121100000000100Barcode

G

E