Appendix C: Bar codes
C-10
9
The checksum code is as follows:
(a)
EAN8
@
(40H)
(b)
EAN13
@
(40H)
(c)
UPC-A
@
(40H)
(d)
UPC-E
not possible
(e)
Code 39
@
(40H)
(f)
Interleaved 2/5
@
(40H)
(g)
Code 128 (SetA)
g
(67H)
(h)
Code 128 (SetB)
CAN (18H)
(i)
Code 128 (SetC)
@
(40H)
10.
Calculation of Checksum
If a checksum code is sent after the data has been sent, the printer
will calculate the checksum and print the checksum instead of the
checksum code. However, you can calculate and transmit the
checksum yourself.
Calculating the Checksum for
EAN8, UPC-A, Interleaved 2/5
a: add all odd-numbered data positions
(starting on the left-hand side)
b: a*3
c: add all even-numbered data positions
(starting on the left-hand side)
d: b+c
e: d mod 10
f: 10-e
f is the check digit
Example: bar code data 1234567@
a: 1+3+5+7 = 16
b: 16*3 = 48
c: 2+4+6 = 12
d: 48+12 = 60
e: 60 mod 10 = 0 (60 / 10 = 6 Remainder 0)
f: 10-0 = 10, f := 0 (If f=10, it is set to f=0)
Checksum is 0
Содержание ML3390
Страница 1: ...User Manual MICROLINE 3390 3391 IBM EPSON compatible People to People Technology...
Страница 3: ...II...
Страница 7: ...VI...
Страница 347: ...Z 1 Declaration of Conformity CE...
Страница 348: ...Z 2 Declaration of Conformity CE...