9. Bar code and enlarged character
UPC-E conversion rule
●NSC, manufacturer’s codes (M1 M2 M3 M4 M5), and product item codes (X1 X2 X3 X4 X5) are input data.
1.
2.
NSC must be 0 or 1.
When the manufacturer’s code data is input, the rule is determined and zero
checking of the product item codes is performed. NZ:
| M1 | M2 | M3 | M4 | M5 | X1 | X2 | X3 | X4 | X5 |
Rule 1 | ✽ | ✽ | ✽ | ✽ | NZ | 0 | 0 | 0 | 0 | 5~9 |
Rule 2 | ✽ | ✽ | ✽ | NZ | 0 | 0 | 0 | 0 | 0 | ✽ |
Rule 3 | ✽ | ✽ | 3~9 | 0 | 0 | 0 | 0 | 0 | ✽ | ✽ |
Rule 4 | ✽ | ✽ | 0~2 | 0 | 0 | 0 | 0 | ✽ | ✽ | ✽ |
|
|
|
|
|
|
|
|
|
|
|
3. The following table shows print data if the rule shown above is met.
Rule 1 | M1 | M2 | M3 | M4 | M5 | X5 | (5~9) |
Rule 2 | M1 | M2 | M3 | M4 | X5 | '4' | |
Rule 3 | M1 | M2 | M3 | X4 | X5 | '3' | |
Rule 4 | M1 | M2 | X3 | X4 | X5 | M3 | (0~2) |
|
|
|
|
|
|
|
|
Calculating the check character
•Modulus 10
a.The data at the
b.The remainder of deviding the value determined in step a by 10 is determined.
c.A character having a character value equal to the remainder of subtracting the value determined in step b from 10 is the check character.
78