1、STD-BSI BS EN 777-ENGL L77b Lb24bb7 0575877 702 BRITISH STANDARD Bar coding - Symbology specifications - EANAJPC The European Standard EN 797 : 1995 has the status of a British Standard ICs 35.040 NO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMiTED BY COPYRIGHT LAW BS EN 797 : 1996 Incorporating Am
2、enmmt No. 1 STD-BSI BS EN 777-ENGL 177b m 1bZLibb7 0575700 Li54 m Amd. No. BS EN 797 : 1996 Issue 2, March 1997 Date Text affected Committees responsible for this British Standard 9425 Mich 1997 The following BSI references relate to the work on this standard Committee reference IST/% Draft for comm
3、ent 9WW1 DC ISBN O 680 26381 3 The preparation of this British Standard was entrusted to Technical Committee ISTM, Bar coding, upon which the foilowing bodies were represented Indicated by a sidehe in the masgin Sk.4p.Fications - Committee for Standardization (CEN). The Corrigendum of October 1996 i
4、ncorporates a change in values to table 1 and a change in notation to table B.1. This British Standard is published under the direction of the information Systems Technology Assembly whose Technical Committee ISTM has the responsibility to: I EAN/(Ipc, incorporating Corrigendum October 1996, publish
5、ed by the European - aid enquirers to undemtand the text; - present to the responsible European committee any enquiries on interpretation, or proposais for change, and keep UK interest informed; - monitor related international and European developments and promulgate them intheuK. NOTE. Internationa
6、l and European Standards, as well as overseas standards, are available from Customer Services, BSI, 389 Chiswick High Road, London W4 4AL. Cross-reference Publication referred to IS0 1073-2 : 1976 Corresponding British Standard BS 5464 Optical character recognition Part 2 : 1977 chamcter set OCR-B -
7、 Shapes and dimensions of the printed image Compliance with a British Standard does not of itself confer immunity from legal obligations. u O BSI 1997 STD-BSI BS EN 797-ENGL L97b lb24bb9 0575704 OTT = EUROPEAN sTANDAE;);D NORM3 EUROPENNE EUROP- NORM EN 797 August 1995 ICs 35.040 Incorporates Comgend
8、um October 1996 Descriptors data processing, character recognition, optical recognition, graphic characters, alphanumeric character sets, bar codes, symbols, characteristics English version codes barres - spafldons des symbologies - %A“ Strichcodierung - Symbologiespeonen - EAN/LTpc This European St
9、andard was approved by CEN on 1995-0622. CEN members are bound to comply with the CEN/CENELEC Internal Regulations which spuate the conditions for giving this European Standard the status of a national standard without any alteration. Up-to-date lists and bibliographical references concerning such n
10、ational standards may be obtained on application to the Central Secretariat or to any CEN member. This European Standard exists in three official versions (English, French, German). A version in any other language made by transhiion under the responsibility of a CEN member into its own language and
11、notifed to the Central Secretariat has the same status as the officiai versions. CEN members are the national standards bodies of Austria, Belgium, Denmask, Finland, France, Germany, Greece, Iceland, ireland, ItaJy, Luxembourg, Netherlands, Norway, Portugal, Spain, Sweden, Switzerland and the United
12、 Kingdom. CEN European Committee for Standardization Comit Europen de Normalisation Europisches Komitee fr Normung Central Secretariat: rue de Stassart 36, B-1060 Brussels O 1995 All rights of reproduction and communication in any form and by my means reserved in ail countries to CEN and its members
13、. Ref. No. EN 797 : 1995 E STD-BSI BS EN 777-ENGL L77b Lb24bb7 0575705 T3b Page 2 EN797:1!M Foreword This European standard was prepared by Technical committee CEN/M= 225, Bar coding, of which the secretariat is held by “I. b) code type: continuous; c) elements per symbol character 4, comprising 2 b
14、ars and 2 spaces, each of 1,2,3 or 4 modules in width (guard patterns and auxiliary patterns have differing numbers of elements); d) character self-checlung: yes; e) data string length encodable: fked (various lengths from 2 to 13 characters depending on specic symbol type); f) omnidirectionally dec
15、odable: yes; g) symbol check character: one, mandatory (see A. 1); h) symbol character density: 7 modules per symbol Character; i) nondata overhead: equivalent to 11 modules for EAN-13, EAN-8 and UPC-A symbols, 9 for UPC-E symbols; varies for other types. 4.2 Symbol structure An EAN/UPC symbol SM co
16、nsist of a main symbol which shal be: - an EAN-13, UPC-A or UPC-E symbol, which may be accompanied by an add-on symbol; The Version D symbol structure, described in annex B, may be used in special applications subject to the proviso in annex B. EANAJFC symbol types are described in 4.4 below. EANLJP
17、C malli symbols shall comprise: - an EAN-8 Symbol. a) leading quiet zone; b) auxdiaxy patterns and symbol characters representing data and check digits, as described in 4.4.1 to 4.4.4 c) trailing quiet zone. a) leading quiet zone (which shall overlap trailing quiet zone of main symbol); b) auxiliary
18、 patterns and symbol characters representing data as described in 4.4.5; c) trailing quiet zone. EA” add-on symbols shall comprise: 4.3 Character encodation 4.3.1 Sgmbol character encodation Symbol characters shall encode digit values in 7-module characters selected from different number sets known
19、asA,B andC, as in table 1. Annex F illustrates this graphically The sum of the bar modules in any symbol character shall determine its pari Symbol characters in number set A are odd parity characters. Symbol characters in number sets B and C are even parity characters. Number set C characters are mi
20、rror images of number set B characters. Symbol characters in number sets A and B always begin on the left with a light module and end on the right with a dark module. Symbol characters in number set C begin on the left with a dark module and end on the right with a light module. Data characters shal
21、l normally be represented by a symbol character. However in certain specific instances dened below (see 4.4.1,4.4.4,4.4.5) the combination of number sets in a symbol may itself represent either data or a check value. This technique shall be referred to as variable parity encodation. 4.3.2 Auxiliary
22、pattern encodation Audiary patterns shall be composed as shown in table 2. Annex F illustrates these graphically The normal guard pattern corresponds to the start and stop patterns in other symbologies and the special guard pattern is used as a stop pattern in 4.4 Symbol formats 4.4.1 %AN-13 sgmbols
23、 The EAN-13 symbol shall be made up as follows, reading from left to right: UPC-E Symbols. - a normal guard pattern; - 6 symbol characters from number sets A and B - a centre guard pattern; - 6 symbol characters from number set C; - a nod guard pattern. The final symbol character shall encode the ch
24、eck character calculated in accordance with A.l. Since the EAN-13 symbol comprises oniy 12 symbol characters but encodes 13 digits of data (including the check character), the value of the additional digit, which is the character in the leftmost position in the data string, shall be encoded by the v
25、ariable parity mix of number sets A and B for the 6 symbol characters in the left half of the symbol. The coding system for values of the leading digit shall be as specified in table 3. Figure 1 is an example of an EAN-13 bar code symbol. O BSI 19% STDSBSI BS EN 797-ENGL 177b m 1b2Libb7 0575708 7Li5
26、 m issue 2, March 1997 I Page 5 EN 797 : 1996 8 1 2 1 3 3 1 2 1 1 2 1 3 9 3 1 1 2 2 1 1 3 3 1 1 2 NOTE. S denotes a space (iight), B denotes a bar (dark), and the figures indicate the width of each element in modules. Table 2. Auxiliary patterns Auxiliary pattern Number of Module set IB Is IB Is IR
27、modules Normal guard pattern Centre pattern Secial cuard att tern 3 1 1 1 5 1 1 1 1 1 6 1 1 1 1 1 1 Add-on guard pattern Add-on delineator 1 able 3. Left half of EAN-13 symbol I 4 1 1 2 2 1 1 Leading digit, not directly encoded O 1 2 3 Number sets used for coding left half of :W-y:syxnb;: I4 I5 I6 1
28、 Symbol character position AAAAAA AABABB AABBAB AABBBA 4 5 ABAABB ABBAAB 7 8 ABABAB ABABBA t i 3th DIG IT ENCODED BY VARIABLE PARIN Figure 1. EAN-13 bar code symbol I O BSI 1996 STDmBSI BS EN 777-ENGL L77b Lb2Libb7 0575707 b8L Page 6 EN797:1996 4.4.2 EM-8 ym - 4 symbol characters from number set A;
29、- a centre pat -anodguardpatern The hnal symbol charader shaii encode the check character calculated in accordance with Al. Figure 2 shows an example of an EANS bar code symbol. Figure 2. EAN-8 bar code symbol 4.4.3 UPC-A sgmods The UPGA symbol shall be made up as follows, reading from left to right
30、 - a normal guard PattRni; - 6 symbol charaders from number set A; - a centre patterq - 6 symbol c-n from number set C; - a normal guard pattern. The nnal symbol charader shall encode the check character calculated in accordance with A. 1. 12 digit UPGA symbols may be decoded as a 13 digit number by
31、 adding an implied leading zero to the 12 digit UPC number in accordance with table 3. Fiigure 3 shows an example of a UPC-A bar code symbol. 4.4.4 WPC-E symbols The UPGE syrnbol shall be made up as follows, reading from left to right - a normal guar pattern; - 6 symbol charactem from number sets A
32、and B; -a specia guard pattern. The UPGE symbol, also called the zem-suppression symbol, may only be used to encode data in 12 digit PC fonnat which commence with a zero and contain a sequence of four or five zeroes in dened positions, as shown in table 5. Fgure 4 shows an example of a WE bar code s
33、ymbol. SYMBOL CHECK CHARACTER NUMBER SYSTEMS CHARACTER -O Figure 3. UPC-A bar code symbol I CHECK CHARACTER ENCODED BY VARIABLE PARITY PREFIX DIGIT Figure 4. UPC-E bar code (encoding M)1234-oooO6-7 by zero suppression) STD-BSI BS EN 777-ENGL L97b Lb24bb7 0595710 3T3 O IB IB 1 B (B Page 7 EN 797 : 19
34、95 B IA A A A IB A A 4.4.4.1 Encodation of a UK-E symbol For the encodation of a suitable data string, the following algorithm may be used 1) Let D1, D2, 03 . O12 denote the 12 UPC data characters (including check digit). D1 shall always be O. Di2 shall be the symbol check character calculated accor
35、ding to the algorithm in Al. Let Xi, XZ . X6 denote the six symbol characters. 2) Determine parity pattern for encodation of O12 from Table 4. 3) Convert remainder of data string into symbol character string by removing zeroes according to the foliowing rules. a) ED11 equals5,6,7,8 or9 and D6 is not
36、0 and 07 to Dl0 inclusive are all O, then 07 to D1O shall not be encoded in the symbol. Symbolcharacter: X1 X2 X3 X4 X5 X6 Data character. O2 03 04 D5 D6 Dll b) If 06 to D1 O inclusive are all O and D5 is not O, then D6 to D1O shall not be encoded in the symbol and X6 shall equal 4. Symbolcharacter:
37、 XI X2 X3 X4 X5 X6 Data character: D2 03 04 D5 O114 c) If D4 equals O, 1 or 2 and 05 to 08 inclusive are all O, then D5 to 08 shall not be encoded in the symbol. Symbolcharacter: X1 X2 X3 X4 X5 X6 Data character. 0.2 03 D9 DlOD11 D4 d) If D4 equals 3,4,5,6,7,8 or 9 and D5 to O9 inclusive are all O t
38、hen D5 to D9 shall not be encoded in the symbol and X6 shall equal 3. Symbolcharacter: X1 XZ X3 X4 X5 X6 Data character: 02 03 D4 DlODll3 4) Encode symbol characters X1 to X6, using number sets A and B in accordance with parity pattern determined in step 2. Table 4. Number sets for UPC-E symbol Valu
39、e of check digit 1 Number sets used for coding UPC-E symbol 8 9 (B (A (A (B (A (B EXAMPLE 1: Original Data 0123456000058 EXAMPLE 2 Original Data O 45670000080 EXAMPLE 3: 034000006673 EXAMPLE 4 098400000751 Zero-suppressed data 123455 BABAAB Zero-suppressed data 456784 BBBAAA Zero-suppressed data 345
40、670 BBAAAB Zero-suppressed data 984753 BBABAA Rule 3a Rule 3b Rule 3c Rule 3d NOTE. The number sets used to encode leading O and check digit are shown under the zero-suppressed numbers. 4.4.4.2 Decoding a UPC-E symbol Derivation of the 12 digit data string from the characters encoded in the UPC-E sy
41、mbol can be performed according to table 5. O BSI 1996 - STD*BSI BS EN 777-ENGL 179b W lbZVbb7 0575711 ZIT Page 8 EN 797 : 1995 Symbol characters Decoded number Note DI 0.2 03 04 D5 D6 07 08 D9 D10 DI1 Dl2 (O) XI X2 x3 x4 x5 o (C) (O) XI x2 o 0 0 0 0 x3 x4 x5 (C) (O) XI x2 x3 x4 x5 1 (C) (O) XI xz 1
42、 0 0 0 0 x3 x4 x5 (C) (0)lXI 1x2 1x3 1x4 1x5 12 I(C (0) 1x1 1x2 12 10 10 10 10 1x3 1x4 1x5 I (O) XI xz x3 x4 x5 3 (C) (O) XI x2 x3 g 0 0 0 0 x4 x5 (C) 1 (O) XI xz x3 x4 x5 4 (C) (O) XI x2 x3 x4 0 0 0 0 0 x5 (C) 2 (O) XI x2 x3 x4 x5 5 (C) (O) XI x2 x3 x4 x5 0 0 0 0 5 (C) 3 (O) XI XZ X3 X4 X5 6 (C) (O
43、) XI XZ X3 X4 X5 0 0 0 0 6 . (C) 13 (O) XI x2 x3 x4 x5 7 (C) (O) XI x2 x3 x4 x5 0 0 0 0 7 (C) 3 (O) Xi X2 X3 X4 X5 8 (C) (O) XI XZ X3 X4 X5 0 0 9 0 8 (C) ,3 (O) XI xz x3 x4 x5 9 (C) (O) XI xz x3 x4 x5 0 g 0 - o 9 (C) 3 II II NOTE 1. X3 shall not be equal to O, 1 or 2. NOTE 2. X4 shaU not be equal to
44、 O. NOTE 3. X5 shall not be equal to O. NOTE 4. XI, X2X5 represent the characters in positions 1,2 . 5 of the ?UPC-E symbol. NOTE 5. Re-inserted zeroes are indicated by underlining. NOTE 6. Characters encoded by variable parity are shown in parentheses. 1 NOTE 7. Characters shown as numeric values m
45、ust appear as such values in the position indicated. I lhble 5. Decoding of ?UPC-E? symbol I 12 I Value of the add-on number Multiple of 4 (00,04,08,96) Multiple of 4 + 1 (01,05,97) Multiple of 4 + 2 (02,06,98) Multiple of 4 + 3 (03,0739) 4.4.5 Add-on sgmbols The Xdigit add-on may be used in specifi
46、c applications, in combination with an ?EAN-13?, ?UPC-A? or ?UPC-E symbol. It shall be made up as follows: - add-on guard pattern; - nrSt digit of the add-on number from number sets A or B - add-on delineator, - second digit of the add-on number fi-om number sets A or B. The add-on has no right-hand
47、 guard pattern. Nor does it have an explicit check digit. Checlung is done through the mix of the number sets (A or B) used for the two digits. The choice of number sets is linked to the value of the add-on number in the way shown by table 6. 4.4.5.1 TWO digit add-on Spbd Left-hand Right-hand digit
48、digit A A A B B A B B Figure 5 shows an example of an ?EAN-13? bar code symbol with 2digit add-on. Figure 5. ?EAN-13? bar code symbol with 2-digit add-on I 4.4.5.2 Five digit add-on symbol The 5digit add-on may be used in specific applications, in combination with an ?EAN-13? or ?UPC-A? symbol. It s
49、hall be made up as follows: - add-on guard pattern; - rst digit of the add-on number from number sets A or B - add-on delineator, - second digit of the add-on number from number sets A or B; - add-on delineator, - third digit of the add-on number from number sets A or B - add-on delineator, - fourth digit of the add-on number from number sets A or B - add-on delineator, - fifth digit of the add-on number from number sets A or B. O BSI 1996 STDmBSI BS EN 797-ENGL L77b = LbZVbb9 05957L2
copyright@ 2008-2019 麦多课文库(www.mydoc123.com)网站版权所有
备案/许可证编号:苏ICP备17064731号-1