資源描述:
《條碼code128編碼規(guī)則.pdf》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在應(yīng)用文檔-天天文庫(kù)。
1、條碼CODE128編碼規(guī)則CODE128簡(jiǎn)介CODE128碼于1981年推出,是一種長(zhǎng)度可變、連續(xù)性的字母數(shù)字條碼。與其他一維條碼比較起來(lái),相對(duì)較為復(fù)雜,支持的宇元也相對(duì)較多,又有不同的編碼為式可供交互運(yùn)用,因此其應(yīng)用彈性也較大。CODE128特性1、具有A、B、C三種不同的編碼類型,可提供標(biāo)準(zhǔn)ASCII中128個(gè)宇元的編碼使用;2、允許雙向掃描;3、可自行決定是否加上校驗(yàn)位;4、條碼長(zhǎng)度可調(diào),但包括開始位和結(jié)束位在內(nèi),不可超過(guò)232個(gè)字元;5、同一個(gè)CODE128碼可以由A、B、C三種不同編碼規(guī)則互換,既可擴(kuò)大字元選擇的范圍,也可縮短編碼的
2、長(zhǎng)度。CODE128編碼方式的編碼范圍1、CODE128A:標(biāo)準(zhǔn)數(shù)字、大寫字母、控制符及特殊宇符;2、CODE128B:標(biāo)準(zhǔn)數(shù)字、大寫宇母、小寫字母及特殊字符;3、CODE128C/EAN128:[00]~[99]的數(shù)字對(duì)集合,共100個(gè),既只能表示偶數(shù)位長(zhǎng)度的數(shù)字。CODE128編碼規(guī)則開始位+[FNC1(為EAN128碼時(shí)附加)]+數(shù)據(jù)位+校驗(yàn)位+結(jié)束位CODE128校驗(yàn)位計(jì)算(開始位對(duì)應(yīng)ID+每位數(shù)據(jù)在整個(gè)數(shù)據(jù)中的位置×每位數(shù)據(jù)對(duì)應(yīng)的ID值)%103CODE128編碼表IDASCIICade128ACade128BCade128CBan
3、dCode編碼值032SPSP0021222211011001100133!!0122212211001101100234““0222222111001100110335##0312122310010011000436$$04121322100h0001100-1-IDASCIICade128ACade128BCade128CBandCode編碼值537%%0513122210001001100638&&0612221310011001000739‘‘0712231210011000100840((0813221210001100100941
4、))092212131100h00h0001042**10221312110010001001143++11231212110001001001244,,12112232101100111001345--13122132100110111001446..14122231100110011101547//15113222101110011001648001612312210011101100174911171232211001110011018502218223211110011100101951331922113211001011100205
5、2442022123111001001110215355212132121101110010022546622223112110011101002355772331213111101101110245688243112221110100110025579925321122111001011002658::26321221111001001102759;;27312212111011001002860<<28322112111001101002961==29322211111001100103062>>302121231101101100031
6、63??31212321110110001103264@@32232121110001101103365AA33111323101000110003466BB34131123100010110003567CC35131321100010001103668DD36112313101100010003769EE37132113100011010003870FF38132311100011000103971GG39211313110100010004072HH40231113110001010004173II41231311110001000104
7、274JJ42112133101101110004375KK4311233110110001110-2-IDASCIICade128ACade128BCade128CBandCode編碼值4476LL44132131100011011104577MM45113123101110110004678NN46113321101110001104779OO47133121100011101104880PP48313121111011101104981QQ49211331110100011105082RR50231131110001011105183S
8、S51213113110111010005284TT52213311110111000105385UU53213131110111011105486VV543111