OKI ML390 Guide De Référence

Page de 180
Chapter 10: Bar Code Commands for 9-Pin Printers
106
Each set has a different check digit.
Table 75: IBM/Epson Print Code 128 Command —
Check Digits for Code 128 Code Sets (9-Pin Printers)
 Check Digit
Code Set
ASCII
Dec
Hex
A
g
103
67
B
CAN
24
18
C
@
64
40
Interleaved 2 of 5 Bar Code Commands
Interleaved 2 of 5 bar coding is used mainly in the distribution industry. Two digits are
encoded: one in the bars and one in the spaces. Ten characters are encoded, each any ASCII
character from 0 to 9 (48 to 57 Dec, 30 to 39 Hex).
The sum of the black bars and spaces becomes the maximum width of two characters.
Select Interleaved 2 of 5 Bar Code Command
The command for selecting Interleaved 2 of 5 is
ESC DLE A m 3 0 n
3
 n
4
 n
5
 n
6
 n
7
 n
8
Interleaved 2 of 5 Parameters n
3
 and n
4
These parameters set the vertical length of the bars in 6/72", as calculated by the equation
(n
3
 x 10) + n
4
] x 6/72"
where the total value must be less than or equal to 25.
Interleaved 2 of 5 Parameter n
5
Parameter n
5
 is used in combination with parameter n
7
 to set the width of one character of the
black bars, as follows:
Table 76: IBM/Epson Select Interleaved 2 of 5 Command —
Black Bar Width for Parameter n
5
, n
7
 Values (9-Pin Printers)
n
5
 = 1
n
5
 = 2
n
5
 = 3
n
5
 = 4
n
5
 = 5
n
5
 = 6
n
5
 = 7
n
7
 = 1
n
7
 = 2
n
7
 = 3
n
7
 = 4
n
7
 = 5
n
7
 = 6
n
7
 = 7
11/144"
13/144"
15/144"
17/144"
21/144"
23/144"
25/144"
18/144"
20/144"
24/144"
28/144"
32/144"
34/144"
38/144"
25/144"
29/144"
33/144"
37/144"
43/144"
47/144"
51/144"
32/144"
36/144"
42/144"
48/144"
54/144"
58/144"
64/144"
39/144"
45/144"
51/144"
57/144"
65/144"
71/144"
77/144"
46/144"
52/144"
60/144"
68/144"
76/144"
82/144"
90/144"
53/144"
61/144"
69/144"
77/144"
87/144"
95/144"
103/144"