00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 const unsigned EAN13_index[10][2] = {
00015 {0, 6},
00016 {6, 1},
00017 {7, 1},
00018 {8, 5},
00019 {13, 20},
00020 {33, 15},
00021 {48, 19},
00022 {67, 23},
00023 {90, 17},
00024 {107, 12},
00025 };
00026 const char *EAN13_range[][2] = {
00027 {"000", "019"},
00028 {"020", "029"},
00029 {"030", "039"},
00030 {"040", "049"},
00031 {"050", "059"},
00032 {"060", "099"},
00033 {"100", "139"},
00034 {"200", "299"},
00035 {"300", "379"},
00036 {"380", "380"},
00037 {"383", "383"},
00038 {"385", "385"},
00039 {"387", "387"},
00040 {"400", "440"},
00041 {"450", "459"},
00042 {"460", "469"},
00043 {"470", "470"},
00044 {"471", "471"},
00045 {"474", "474"},
00046 {"475", "475"},
00047 {"476", "476"},
00048 {"477", "477"},
00049 {"478", "478"},
00050 {"479", "479"},
00051 {"480", "480"},
00052 {"481", "481"},
00053 {"482", "482"},
00054 {"484", "484"},
00055 {"485", "485"},
00056 {"486", "486"},
00057 {"487", "487"},
00058 {"489", "489"},
00059 {"490", "499"},
00060 {"500", "509"},
00061 {"520", "520"},
00062 {"528", "528"},
00063 {"529", "529"},
00064 {"530", "530"},
00065 {"531", "531"},
00066 {"535", "535"},
00067 {"539", "539"},
00068 {"540", "549"},
00069 {"560", "560"},
00070 {"569", "569"},
00071 {"570", "579"},
00072 {"590", "590"},
00073 {"594", "594"},
00074 {"599", "599"},
00075 {"600", "601"},
00076 {"603", "603"},
00077 {"608", "608"},
00078 {"609", "609"},
00079 {"611", "611"},
00080 {"613", "613"},
00081 {"616", "616"},
00082 {"618", "618"},
00083 {"619", "619"},
00084 {"621", "621"},
00085 {"622", "622"},
00086 {"624", "624"},
00087 {"625", "625"},
00088 {"626", "626"},
00089 {"627", "627"},
00090 {"628", "628"},
00091 {"629", "629"},
00092 {"640", "649"},
00093 {"690", "695"},
00094 {"700", "709"},
00095 {"729", "729"},
00096 {"730", "739"},
00097 {"740", "740"},
00098 {"741", "741"},
00099 {"742", "742"},
00100 {"743", "743"},
00101 {"744", "744"},
00102 {"745", "745"},
00103 {"746", "746"},
00104 {"750", "750"},
00105 {"754", "755"},
00106 {"759", "759"},
00107 {"760", "769"},
00108 {"770", "770"},
00109 {"773", "773"},
00110 {"775", "775"},
00111 {"777", "777"},
00112 {"779", "779"},
00113 {"780", "780"},
00114 {"784", "784"},
00115 {"786", "786"},
00116 {"789", "790"},
00117 {"800", "839"},
00118 {"840", "849"},
00119 {"850", "850"},
00120 {"858", "858"},
00121 {"859", "859"},
00122 {"860", "860"},
00123 {"865", "865"},
00124 {"867", "867"},
00125 {"869", "869"},
00126 {"870", "879"},
00127 {"880", "880"},
00128 {"884", "884"},
00129 {"885", "885"},
00130 {"888", "888"},
00131 {"890", "890"},
00132 {"893", "893"},
00133 {"899", "899"},
00134 {"900", "919"},
00135 {"930", "939"},
00136 {"940", "949"},
00137 {"950", "950"},
00138 {"955", "955"},
00139 {"958", "958"},
00140 {"977", "977"},
00141 {"978", "978"},
00142 {"979", "979"},
00143
00144 {"980", "980"},
00145 {"981", "982"},
00146 {"990", "999"},
00147 {NULL, NULL}
00148 };