APPENDIX A " Bar Code Scanning
VT220/ANSI Terminal Emulation Programmer’s Reference Guide A-3
Table A-1
Bar Code Data String Formats
Type
Code Data Bar Code Type Data Format * Data Length **
0
1
2
3
4
5
6
7
8
9
:
;
<
=
Z
>
@
A
P
Q
R
J
UPC short
EAN short
UPC long
EAN long
UPC short add-on 2
EAN short add-on 2
UPC long add-on 2
EAN long add-on 2
UPC short add-on 5
EAN short add-on 5
UPC long add-on 5
EAN long add-on 5
Interleaved 2 of 5
Straight 2 of 5 ***
Computer Identics 2 of 5 ***
Plessey
CODABAR
ABC CODABAR ***
Code 39
Extended Code 39
Code 93 ***
Code 128
nddddddc
fndddddc
nddddddddddc
fnddddddddddc
nddddddcaa
fndddddcaa
nddddddddddcaa
fnddddddddddcaa
nddddddcaaaaa
fndddddcaaaaa
nddddddddddcaaaaa
fnddddddddddcaaaaa
d......d
d......d
d......d
d......dc
sd....ds
sd....ds
d......d
d......d
d......d
d......d
8
8
12
13
10
10
14
15
13
13
17
18
1 to 31
1 to 31
1 to 31
2 to 31
3 to 31
6 to 31
1 to 31
1 to 31
1 to 31
1 to 31
* Bar code data definitions:
n = Number system digits
d = Bar code digits
c = Check digits
f = EAN flag 1 characters
a = Add-on code digits
s = Start and stop digits
** If MOD 10 or MOD11 check digits are enabled, the digit falls at the end of a
bar code data string. Each check digit enabled extends the length of the bar
code data string by 1 character.
*** Not supported by PEN*KEY
R
6400 Computer’s internal engine.