1, every five lines represent a character;
2、
The thick line indicates 1 and the thin line indicates 0;
3. The width of the gap between lines is 1, and the narrow gap is 0;
4、
Five lines and four gaps between them are nine-bit binary codes, and three of these nine bits must be 1, so it is called 39 codes;
5、
The * at the beginning and end of the bar code indicates the beginning and end.
str bartable(0)= " 00 1 100 100 "
' 0
str bartable( 1)= " 1000 10 100 " ' 1
str bartable(2)= " 0 100 10 100 " ' 2
str bartable(3)= " 1 10000 100 " ' 3
Form (4)
= "00 10 10 100" ' 4
str bartable(5)= 1
" 10 1000 100" ' 5
str bartable(6)= " 0 1 1000 100 " '
six
str bartable(7)= " 000 1 10 100 " ' 7
str bartable(8)= " 100 100 100 " ' 8
str bartable(9)= " 0 10 100 100 " ' 9
strBarTable( 10)
= " 1000 100 10 " ' A
str bartable( 1 1)= 1
" 0 100 100 10" ' B
str bartable( 12)= " 1 10000 10 " ' C
str bartable( 13)= " 00 10 100 10 " ' D
str bartable( 14)= " 10 10000 10 " ' E
strBarTable( 15)
= " 0 1 10000 10 " ' F
str bartable( 16)= " 000 1 100 10 " '
G
strBarTable( 17)= " 100 1000 10 " ' H
str bartable( 18)= " 0 10 1000 10 " ' I
str bartable( 19)= " 00 1 1000 10 " ' J
strBarTable(20)
= " 1000 1000 1 " ' K
strBarTable(2 1)= " 0 100 1000 1 " '
L
str bartable(22)= " 1 100000 1 " ' M
str bartable(23)= " 00 10 1000 1 " ' N
str bartable(24)= " 10 10000 1 " ' O
strBarTable(25)
= " 0 1 10000 1 " ' P
str bartable(26)= " 000 1 1000 1 " '
Q
str bartable(27)= " 100 1000 1 " ' R
str bartable(28)= " 0 10 1000 1 "
str bartable(29)= " 00 1 10000 1 " ' T
strBarTable(30)
= " 1000 1 1000 " ' U
str bartable(3 1)= " 0 100 1 1000 " '
V
strBarTable(32)= " 1 1000 1000 " ' W
str bartable(33)= " 00 10 1 1000 " ' X
str bartable(34)= " 10 100 1000 " ' Y
strBarTable(35)
= " 0 1 100 1000 " ' Z
str bartable(36)= " 000 1 1 1000 " '
-
str bartable(37)= " 100 10 1000 " ' %
str bartable(38)= " 0 10 10 1000 " ' $
str bartable(39)= " 00 1 10 1000 " ' *