Oki ML591 MICROLINE Reference Manual - Page 144

-14.pdf, Check Digits for Code 128 Code Sets 9-Pin Printers

Page 144 highlights

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) Code Set A B C Check Digit ASCII Dec Hex g 103 67 CAN 24 18 @ 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 n3 n4 n5 n6 n7 n8 Interleaved 2 of 5 Parameters n3 and n4 These parameters set the vertical length of the bars in 6/72", as calculated by the equation (n3 x 10) + n4] x 6/72" where the total value must be less than or equal to 25. Interleaved 2 of 5 Parameter n5 Parameter n5 is used in combination with parameter n7 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 n5, n7 Values (9-Pin Printers) n7 = 1 n7 = 2 n7 = 3 n7 = 4 n7 = 5 n7 = 6 n7 = 7 n5 = 1 11/144" 13/144" 15/144" 17/144" 21/144" 23/144" 25/144" n5 = 2 18/144" 20/144" 24/144" 28/144" 32/144" 34/144" 38/144" n5 = 3 25/144" 29/144" 33/144" 37/144" 43/144" 47/144" 51/144" n5 = 4 32/144" 36/144" 42/144" 48/144" 54/144" 58/144" 64/144" n5 = 5 39/144" 45/144" 51/144" 57/144" 65/144" 71/144" 77/144" n5 = 6 46/144" 52/144" 60/144" 68/144" 76/144" 82/144" 90/144" n5 = 7 53/144" 61/144" 69/144" 77/144" 87/144" 95/144" 103/144" 106 Chapter 10: Bar Code Commands for 9-Pin Printers

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 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"