Interleaved 2 Of 5 Bar Code Commands; Select Interleaved 2 Of 5 Bar Code Command - Oki MICROLINE ML521 Reference Manual

Oki microline ml521: reference guide
Hide thumbs Also See for MICROLINE ML521:
Table of Contents

Advertisement

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)

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

Advertisement

Table of Contents
loading

Table of Contents