1、 Collection of SANS standards in electronic format (PDF) 1. Copyright This standard is available to staff members of companies that have subscribed to the complete collection of SANS standards in accordance with a formal copyright agreement. This document may reside on a CENTRAL FILE SERVER or INTRA
2、NET SYSTEM only. Unless specific permission has been granted, this document MAY NOT be sent or given to staff members from other companies or organizations. Doing so would constitute a VIOLATION of SABS copyright rules. 2. Indemnity The South African Bureau of Standards accepts no liability for any
3、damage whatsoever than may result from the use of this material or the information contain therein, irrespective of the cause and quantum thereof. ISBN 978-0-626-21866-9 SANS 16388:2008Edition 1ISO/IEC 16388:2007Edition 2SOUTH AFRICAN NATIONAL STANDARD Information technology Automatic identification
4、 and data capture techniques Code 39 bar code symbology specification Published by SABS Standards Division 1 Dr Lategan Road Groenkloof Private Bag X191 Pretoria 0001Tel: +27 12 428 7911 Fax: +27 12 344 1568 www.sabs.co.za SABS This national standard is the identical implementation of ISO/IEC 16388:
5、2007 and is adopted with the permission of the International Organization for Standardization and the International Electrotechnical Commission. SANS 16388:2008 Edition 1 ISO/IEC 16388:2007 Edition 2 Table of changes Change No. Date Scope National foreword This South African standard was approved by
6、 National Committee SABS SC 71K, Information technology Automatic identification and data capture techniques, in accordance with procedures of the SABS Standards Division, in compliance with annex 3 of the WTO/TBT agreement. This SANS document was published in September 2008. Reference numberISO/IEC
7、 16388:2007(E)ISO/IEC 2007INTERNATIONAL STANDARD ISO/IEC16388Second edition2007-05-15Information technology Automatic identification and data capture techniques Code 39 bar code symbology specification Technologies de linformation Techniques didentification automatique et de capture des donnes Spcif
8、ications des symbologies des codes barres, code 39 SANS 16388:2008This s tandard may only be used and printed by approved subscription and freemailing clients of the SABS .ISO/IEC 16388:2007(E) PDF disclaimer This PDF file may contain embedded typefaces. In accordance with Adobes licensing policy, t
9、his file may be printed or viewed but shall not be edited unless the typefaces which are embedded are licensed to and installed on the computer performing the editing. In downloading this file, parties accept therein the responsibility of not infringing Adobes licensing policy. The ISO Central Secre
10、tariat accepts no liability in this area. Adobe is a trademark of Adobe Systems Incorporated. Details of the software products used to create this PDF file can be found in the General Info relative to the file; the PDF-creation parameters were optimized for printing. Every care has been taken to ens
11、ure that the file is suitable for use by ISO member bodies. In the unlikely event that a problem relating to it is found, please inform the Central Secretariat at the address given below. COPYRIGHT PROTECTED DOCUMENT ISO/IEC 2007 All rights reserved. Unless otherwise specified, no part of this publi
12、cation may be reproduced or utilized in any form or by any means, electronic or mechanical, including photocopying and microfilm, without permission in writing from either ISO at the address below or ISOs member body in the country of the requester. ISO copyright office Case postale 56 CH-1211 Genev
13、a 20 Tel. + 41 22 749 01 11 Fax + 41 22 749 09 47 E-mail copyrightiso.org Web www.iso.org Published in Switzerland ii ISO/IEC 2007 All rights reservedSANS 16388:2008This s tandard may only be used and printed by approved subscription and freemailing clients of the SABS .ISO/IEC 16388:2007(E) ISO/IEC
14、 2007 All rights reserved iiiContents Page Foreword iv Introduction v 1 Scope . 1 2 Normative references . 1 3 Terms and definitions. 1 4 Requirements 1 4.1 Symbology characteristics 1 4.2 Symbol structure 2 4.3 Character encodation. 2 4.4 Dimensions 4 4.5 Reference decode algorithm . 5 4.6 Symbol q
15、uality 6 4.7 Application-defined parameters 7 Annex A (informative) Additional features. 9 Annex B (informative) Guidelines for the use of Code 39 12 Annex C (normative) Symbology identifier . 15 Annex D (informative) Example of application-defined parameters . 16 Bibliography . 18 SANS 16388:2008Th
16、is s tandard may only be used and printed by approved subscription and freemailing clients of the SABS .ISO/IEC 16388:2007(E) iv ISO/IEC 2007 All rights reservedForeword ISO (the International Organization for Standardization) and IEC (the International Electrotechnical Commission) form the speciali
17、zed system for worldwide standardization. National bodies that are members of ISO or IEC participate in the development of International Standards through technical committees established by the respective organization to deal with particular fields of technical activity. ISO and IEC technical commi
18、ttees collaborate in fields of mutual interest. Other international organizations, governmental and non-governmental, in liaison with ISO and IEC, also take part in the work. In the field of information technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC 1. Internationa
19、l Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2. The main task of the joint technical committee is to prepare International Standards. Draft International Standards adopted by the joint technical committee are circulated to national bodies for voting. Pub
20、lication as an International Standard requires approval by at least 75 % of the national bodies casting a vote. Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. ISO and IEC shall not be held responsible for identifying any or all s
21、uch patent rights. ISO/IEC 16388 was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology, Subcommittee SC 31, Automatic identification and data capture techniques. This second edition cancels and replaces the first edition (ISO/IEC 16388:1999), which has been technically revi
22、sed. SANS 16388:2008This s tandard may only be used and printed by approved subscription and freemailing clients of the SABS .ISO/IEC 16388:2007(E) ISO/IEC 2007 All rights reserved vIntroduction The technology of bar coding is based on the recognition of patterns encoded in bars and spaces of define
23、d dimensions. There are numerous methods of encoding information in bar code form, known as symbologies. Code 39 is one such symbology. The rules defining the translation of characters into bar and space patterns and other essential features are known as the symbology specification. In the past, sym
24、bology specifications were developed and published by a number of organizations, resulting in certain instances in conflicting requirements for certain symbologies. Manufacturers of bar code equipment and users of bar code technology require publicly available standard symbology specifications to wh
25、ich they can refer when developing equipment and application standards. SANS 16388:2008This s tandard may only be used and printed by approved subscription and freemailing clients of the SABS .This page is intentionally left blankSANS 16388:2008This s tandard may only be used and printed by approved
26、 subscription and freemailing clients of the SABS .INTERNATIONAL STANDARD ISO/IEC 16388:2007(E) ISO/IEC 2007 All rights reserved 1Information technology Automatic identification and data capture techniques Code 39 bar code symbology specification 1 Scope This International Standard specifies the req
27、uirements for the bar code symbology known as Code 39; it specifies Code 39 symbology characteristics, data character encodation, dimensions, tolerances, decoding algorithms and parameters to be defined by applications. It specifies the Symbology Identifier prefix strings for Code 39 symbols. 2 Norm
28、ative references The following referenced documents are indispensable for the application of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies. ISO/IEC 646, Information technol
29、ogy ISO 7-bit coded character set for information interchange ISO/IEC 15416, Information technology Automatic identification and data capture techniques Bar code print quality test specification Linear symbols ISO/IEC 15424, Information technology Automatic identification and data capture techniques
30、 Data Carrier Identifiers (including Symbology Identifiers) ISO/IEC 19762-1, Information technology Automatic identification and data capture (AIDC) techniques Harmonized vocabulary Part 1: General terms relating to AIDC ISO/IEC 19762-2, Information technology Automatic identification and data captu
31、re (AIDC) techniques Harmonized vocabulary Part 2: Optically readable media (ORM) 3 Terms and definitions For the purposes of this document, the terms and definitions given in ISO/IEC 19762-1 and ISO/IEC 19762-2 apply. 4 Requirements 4.1 Symbology characteristics The characteristics of Code 39 are a
32、s follows. a) Encodable character set: 1) full alphanumeric A to Z and 0 to 9 (ASCII characters 65 to 90 and 48 to 57 inclusive, in accordance with ISO 646). SANS 16388:2008This s tandard may only be used and printed by approved subscription and freemailing clients of the SABS .ISO/IEC 16388:2007(E)
33、 2 ISO/IEC 2007 All rights reserved2) special characters: space $ % + - . / (ASCII characters 32, 36, 37, 43, 45, 46 and 47, respectively, in accordance with ISO 646). 3) start/stop character. b) Code type: discrete. c) Elements per symbol character: 9, of which 3 wide and 6 narrow, comprising 5 bar
34、s and 4 spaces. d) Character self-checking: yes. e) Data string length encodable: variable. f) Bidirectionally decodable: yes. g) Symbol check character: one, optional (see Annex A). h) Symbol character density: 13 to 16 modules per symbol character, inclusive of minimum intercharacter gap, dependin
35、g on wide/narrow ratio. i) Non-data overhead: equivalent to 2 symbol characters. 4.2 Symbol structure As illustrated in Figure 1, Code 39 symbols shall comprise a) leading quiet zone; b) start character; c) one or more symbol characters representing data (including symbol check character, if present
36、); d) stop character; e) trailing quiet zone. A space, the intercharacter gap, shall separate characters within the symbol. QUIET ZONE START CHARACTER “1“ “A“ STOP CHARACTER QUIET ZONE1AFigure 1 Code 39 symbol 4.3 Character encodation 4.3.1 Symbol character structure Each symbol character comprises
37、nine elements (five bars and four spaces) of which six are always narrow (either three narrow bars and three narrow spaces, or five narrow bars and one narrow space) and three are always wide (one wide space and two wide bars when there are three narrow bars, or three wide spaces when there are five
38、 narrow bars). This parity feature enables character self-checking to be carried out. SANS 16388:2008This s tandard may only be used and printed by approved subscription and freemailing clients of the SABS .ISO/IEC 16388:2007(E) ISO/IEC 2007 All rights reserved 34.3.2 Symbol character assignments Ta
39、ble 1 defines all the Code 39 character assignments. Table 1 Code 39 character assignments Char. Encodation Patern BSBSBSBS B ASCII value 0 00011010 0 48 1 10010000 1 49 2 00110000 1 50 3 10110000 0 51 4 00011000 1 52 5 10011000 0 53 6 00111000 0 54 7 00010010 1 55 8 10010010 0 56 9 00110010 0 57 A
40、10000100 1 65 B 00100100 1 66 C 10100100 0 67 D 00001100 1 68 E 10001100 0 69 F 00101100 0 70 G 00000110 1 71 H 10000110 0 72 I 00100110 0 73 J 00001110 0 74 K 10000001 1 75 L 00100001 1 76 M 10100001 0 77 N 00001001 1 78 O 10001001 0 79 P 00101001 0 80 Q 00000011 1 81 R 10000011 0 82 S 00100011 0 8
41、3 SANS 16388:2008This s tandard may only be used and printed by approved subscription and freemailing clients of the SABS .ISO/IEC 16388:2007(E) 4 ISO/IEC 2007 All rights reservedChar. Encodation Patern BSBSBSBSBASCII value T 000010110 84 U 110000001 85 V 011000001 86 W 111000000 87 X 010010001 88 Y
42、 110010000 89 Z 011010000 90 hyphen 010000101 45 period 110000100 46 space 011000100 32 $ 010101000 36 / 010100010 47 + 010001010 43 % 000101010 37 S/S or * 010010100 none NOTE 1 S/S denotes the start and stop character, usually graphically represented as * NOTE 2 In the columns headed B and S, 0 re
43、presents a narrow element and 1 a wide element. 4.3.3 Start and stop characters The Code 39 start and stop character is usually depicted in human-readable form by a * (asterisk). This character shall not form part of the data encoded elsewhere in the symbol and shall not be transmitted by the decode
44、r. The start character shall be positioned at the normal left end of the data symbol characters, separated from the first bar of the leading data character by an intercharacter gap. The stop character shall be positioned at the normal right end of the data symbol characters (including symbol check c
45、haracter if present), separated from the final bar of the trailing data character by an intercharacter gap. 4.3.4 Optional symbol check character Annex A defines the symbol check character position and calculation. 4.4 Dimensions Code 39 symbology shall use the following nominal dimensions. a) Width
46、 of narrow element (X): the X dimension of Code 39 symbols should be defined by the application specification having due regard to the availability of equipment for the production and reading of symbols and complying with the general requirements of the application. See 4.7.1. b) Wide/narrow ratio (
47、N): 2,0 : 1 to 3,0 : 1. SANS 16388:2008This s tandard may only be used and printed by approved subscription and freemailing clients of the SABS .ISO/IEC 16388:2007(E) ISO/IEC 2007 All rights reserved 5c) Width of intercharacter gap (I): 1) minimum: equal to X; 2) maximum: for X 3,4: Grade 0. 4.6.2.2
48、 Intercharacter gap For symbols with a measured narrow element width (Z) less than 0,287 mm, the maximum allowed intercharacter gap is 5,3Z. For symbols with Z greater than or equal to 0,287 mm, the maximum intercharacter gap is the greater of 3Z or 1,52 mm. Each intercharacter gap in the scan reflectance profile under ISO/IEC 15416 shall be measured and graded as follows. I Gmax: Grade 4. I %I %N %S US %E ? %J _ %O DEL %T or %X or %Y or %Z SANS 16388:2008This s tandard may only be used and printed by approved subscription and fre