1、| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | BRITISH STANDARD BS EN 797 : 1996 Incorpor
2、ating Amendment No. 1 The European Standard EN 797 : 1995 has the status of a British Standard ICS 35.040 NO COPYING WITHOUT BSI PERMISSION EXCEPT AS PERMITTED BY COPYRIGHT LAW Bar coding Symbology specifications EAN/UPCThis British Standard, having been prepared under the direction of the Informati
3、on Systems Technology Assembly, was published under the authority of the Standards Board and comes into effect on 15 May 1996 BSI 1997 The following BSI references relate to the work on this standard: Committee reference IST/34 Draft for comment 92/66841 DC ISBN 0 580 25381 3 BS EN 797 : 1996 Issue
4、2, March 1997 Amendments issued since publication Amd. No. Date Text affected 9425 March 1997 Indicated by a sideline in the margin Committees responsible for this British Standard The preparation of this British Standard was entrusted to Technical Committee IST/34, Bar coding, upon which the follow
5、ing bodies were represented: Article Number Association (UK) Ltd. Association of British Health-care Industries Association of the British Pharmaceutical Industry Auto ID User Association Automatic Identification Manufacturers Association (AIM UK) Brewers Society British Iron and Steel Producers Ass
6、ociation British Office Systems and Stationery Federation CCTA (the Government Centre for Information Systems) Engineering Employers Federation Flexible Packaging Association Food and Drink Federation Kings Town Photocodes Ltd. Kodak Limited Ministry of Defence National Association of Paper Merchant
7、s Process and Packaging Machinery Association Society of Motor Manufacturers and Traders Limited BSI 1996 i BS EN 797 : 1996 Contents Page Committees responsible Inside front cover National foreword ii Foreword 2 Text of EN 797 3ii BSI 1997 BS EN 797 : 1996 Issue 2, March 1997 | | | National forewor
8、d This British Standard has been prepared by Technical Committee IST/34 and is the English language version of EN 797 : 1995 Bar coding Symbology specifications EAN/UPC, incorporating Corrigendum October 1996, published by the European Committee for Standardization (CEN). The Corrigendum of October
9、1996 incorporates 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 IST/34 has the responsibility to: aid enquirers to understand the text; present to th
10、e responsible European committee any enquiries on interpretation, or proposals for change, and keep UK interest informed; monitor related international and European developments and promulgate them in the UK. NOTE. International and European Standards, as well as overseas standards, are available fr
11、om Customer Services, BSI, 389 Chiswick High Road, London W4 4AL. Cross-reference Publication referred to Corresponding British Standard ISO 1073-2 : 1976 BS 5464 Optical character recognition Part 2 : 1977 Character set OCR-B Shapes and dimensions of the printed image Compliance with a British Stan
12、dard does not of itself confer immunity from legal obligations.CEN European Committee for Standardization Comite Europe en de Normalisation Europa isches Komitee fu r Normung Central Secretariat: rue de Stassart 36, B-1050 Brussels 1995 All rights of reproduction and communication in any form and by
13、 any means reserved in all countries to CEN and its members. Ref. No. EN 797 : 1995 E EUROPEAN STANDARD EN 797 NORME EUROPE ENNE EUROPA ISCHE NORM August 1995 ICS 35.040 Incorporates Corrigendum October 1996 Descriptors: data processing, character recognition, optical recognition, graphic characters
14、, alphanumeric character sets, bar codes, symbols, characteristics English version Bar coding Symbology specifications EAN/UPC Codes a barres Spe cifications des symbologies EAN/UPC Strichcodierung Symbologiespezifikationen EAN/UPC This European Standard was approved by CEN on 1995-06-22. CEN member
15、s are bound to comply with the CEN/CENELEC Internal Regulations which stipulate 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 national standards may be obtained on application
16、 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 translation under the responsibility of a CEN member into its own language and notified to the Central Secretariat has the sam
17、e status as the official versions. CEN members are the national standards bodies of Austria, Belgium, Denmark, Finland, France, Germany, Greece, Iceland, Ireland, Italy, Luxembourg, Netherlands, Norway, Portugal, Spain, Sweden, Switzerland and the United Kingdom.Page 2 EN 797 : 1995 BSI 1996 Forewor
18、d This European Standard was prepared by Technical Committee CEN/TC 225, Bar coding, of which the secretariat is held by NNI. Organizations contributing to the development of the standard include: AIM Europe (Automatic Identification Manufacturers) EAN International (European Article Numbering Assoc
19、iation) NOTE. Not all of the symbologies which appear in this document are defined in European Standards; for information on current European Standards contact the CEN Central Secretariat or national standards organizations. This European Standard shall be given the status of a National Standard, ei
20、ther by publication of an identical text or by endorsement, at the latest by February 1996, and conflicting national standards shall be withdrawn at the latest by February 1996. According to the CEN/CENELEC Internal Regulations, the following countries are bound to implement this European Standard:
21、Austria, Belgium, Denmark, Finland, France, Germany, Greece, Iceland, Ireland, Italy, Luxembourg, Netherlands, Norway, Portugal, Spain, Sweden, Switzerland and the United Kingdom. Contents Page Foreword 2 Introduction 3 1 Scope 3 2 Normative references 3 3 Definitions 3 4 Requirements 4 Annexes A (n
22、ormative) Additional features 13 B (normative) Version D symbol structure 13 C (informative) Guidelines for the use of EAN/UPC 15 D (informative) Symbology identifier 15 E (informative) Examples of application-defined parameters 16 F (informative) Illustration of the encodation of number sets A, B a
23、nd C and auxiliary characters 17 G (informative) Overview of the EAN/UCC system 18Page 3 EN 797 : 1995 BSI 1996 Introduction The technology of bar coding is based on the recognition of patterns encoded in bars and spaces of defined dimensions. There is a number of methods of encoding information in
24、bar code form, known as symbologies, and the rules defining the translation of characters into bar and space patterns and other essential features are known as the symbology specification. EAN/UPC is one such symbology. Previously symbology specifications have been developed and published by a numbe
25、r of organizations resulting in certain instances in conflicting specifications for certain symbologies. Manufacturers of bar code equipment and users of bar code technology require publicly available standard symbology specifications to which they can refer when developing equipment and application
26、 standards. 1 Scope This standard: specifies the requirements for the bar code symbology known as EAN/UPC specifies EAN/UPC symbology characteristics, data character encodation, symbol formats, dimensions, tolerances, and a reference decoding algorithm. The standard is applicable to the EAN/UPC bar
27、code symbology. The EAN/UPC bar code symbols are exclusively reserved for encoding identification numbers. The use of the symbology is restricted and subject to compliance with the EAN International (EAN) and Uniform Code Council (UCC) rules and registration procedures. The administration of the num
28、bering system by EAN and UCC ensures that identification codes assigned to particular items are unique worldwide and are defined in a consistent way. The major benefit for the users of the standard is to refer to uniquely defined identification codes in their trading transactions. This is particular
29、ly useful in open environments. 2 Normative references This European Standard incorporates by dated or undated reference provisions from other publications. These normative references are cited at the appropriate places in the text and the publications are listed hereafter. For dated references, sub
30、sequent amendments to or revisions of any of these publications apply to this European Standard only when incorporated in it by amendment or revision. For undated references the latest edition of the publication referred to applies. prEN 1556 Bar coding Terminology prEN 1635 Bar coding Test specific
31、ations for bar code symbols ISO 646 : 1991 Information technology ISO 7-bit coded character set for information interchange ISO 1073-2 : 1976 Alphanumeric character sets for optical recognition Part 2: character set OCR-B Shapes and dimensions of the printed image General EAN Specifications (EAN Int
32、ernational, Brussels, 1994) 3 Definitions For the purposes of this European Standard the following definitions and those of prEN 1556 apply. 3.1 add-on symbol A symbol used to encode information supplementary to that in the main symbol. 3.2 auxiliary pattern A pattern of bars/spaces representing non
33、-data components of the symbol e.g. guard patterns and inter-character delineators. 3.3 block A grouping of symbol segments. 3.4 delineator An auxiliary pattern used to separate characters within an add-on symbol. 3.5 even parity A characteristic of the encodation of a symbol character whereby it co
34、ntains an even number of dark modules. 3.6 guard pattern A pattern of bars/spaces corresponding to start or stop patterns in other symbologies, or serving to separate the two halves of a symbol. 3.7 magnification factor A constant multiplier of the nominal dimensions of an EAN/UPC symbol. 3.8 number
35、ing organization An agency affiliated to EAN and responsible for the administration of the EAN system and maintenance of a number bank within a defined territory. 3.9 number set A series of ten bar/space patterns of either even or odd parity encoding the digits 0 to 9. 3.10 odd parity A characterist
36、ic of the encodation of a symbol character whereby it contains an odd number of dark modules. 3.11 symbol segment In UPC Version D symbols, a grouping of symbol characters of specified length and parity pattern from which blocks are built up.Page 4 EN 797 : 1995 BSI 1996 3.12 variable parity encodat
37、ion The process of encoding additional information in a series of symbol characters by using particular combinations of odd and even parity characters to encode digits or for checking purposes. 3.13 version: A combination of one or more blocks, the structure of which has been defined in the General
38、EAN and UCC Specifications. 3.14 zero-suppression: The process of removing zeroes from specified positions in a UPC-A data string in order to encode it in UPC-E format. 4 Requirements 4.1 Symbology characteristics The characteristics of EAN/UPC are: a) encodable character set: numeric (0 to 9) i.e.
39、ASCII characters 48 57 inclusive, in accordance with ISO 646; b) code type: continuous; c) elements per symbol character: 4, comprising 2 bars 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-checking: y
40、es; e) data string length encodable: fixed (various lengths from 2 to 13 characters depending on specific symbol type); f) omni-directionally decodable: yes; g) symbol check character: one, mandatory (see A.1); h) symbol character density: 7 modules per symbol character; i) non-data overhead: equiva
41、lent 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 shall consist of a main symbol which shall be: an EAN-13, UPC-A or UPC-E symbol, which may be accompanied by an add-on symbol; an EAN-8 symbol. The Version D sy
42、mbol structure, described in annex B, may be used in special applications subject to the proviso in annex B. EAN/UPC symbol types are described in 4.4 below. EAN/UPC main symbols shall comprise: a) leading quiet zone; b) auxiliary patterns and symbol characters representing data and check digits, as
43、 described in 4.4.1 to 4.4.4; c) trailing quiet zone. EAN/UPC add-on symbols shall comprise: a) leading quiet zone (which shall overlap trailing quiet zone of main symbol); b) auxiliary patterns and symbol characters representing data as described in 4.4.5; c) trailing quiet zone. 4.3 Character enco
44、dation 4.3.1 Symbol character encodation Symbol characters shall encode digit values in 7-module characters selected from different number sets known as A, B and C, as in table 1. Annex F illustrates this graphically. The sum of the bar modules in any symbol character shall determine its parity. Sym
45、bol 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 mirror 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 ri
46、ght 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 shall normally be represented by a symbol character. However in certain specific instances defined below (see 4.4.1, 4.4.4, 4.4.5) the combination
47、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 pattern encodation Auxiliary patterns shall be composed as shown in table 2. Annex F illustrates these graphically. The normal guard patter
48、n corresponds to the start and stop patterns in other symbologies and the special guard pattern is used as a stop pattern in UPC-E symbols. 4.4 Symbol formats 4.4.1 EAN-13 symbols The EAN-13 symbol shall be made up as follows, reading from left to right: a normal guard pattern; 6 symbol characters f
49、rom number sets A and B; a centre guard pattern; 6 symbol characters from number set C; a normal guard pattern. The final symbol character shall encode the check character calculated in accordance with A.1. Since the EAN-13 symbol comprises only 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 e