ISO/IEC 16388:2007
(Main)Information technology — Automatic identification and data capture techniques — Code 39 bar code symbology specification
Information technology — Automatic identification and data capture techniques — Code 39 bar code symbology specification
The technology of bar coding is based on the recognition of patterns encoded in bars and spaces of defined 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, symbology 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 which they can refer when developing equipment and application standards. ISO/IEC 16388:2007 specifies the requirements 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.
Technologies de l'information — Techniques automatiques d'identification et de capture des données — Spécifications des symbologies des codes à barres, code 39
General Information
Relations
Standards Content (Sample)
INTERNATIONAL ISO/IEC
STANDARD 16388
Second edition
2007-05-15
Information technology — Automatic
identification and data capture
techniques — Code 39 bar code
symbology specification
Technologies de l'information — Techniques d'identification
automatique et de capture des données — Spécifications des
symbologies des codes à barres, code 39
Reference number
©
ISO/IEC 2007
PDF disclaimer
This PDF file may contain embedded typefaces. In accordance with Adobe's licensing policy, this 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 Adobe's licensing policy. The ISO Central Secretariat
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 ensure 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.
© ISO/IEC 2007
All rights reserved. Unless otherwise specified, no part of this publication 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
ISO's member body in the country of the requester.
ISO copyright office
Case postale 56 • CH-1211 Geneva 20
Tel. + 41 22 749 01 11
Fax + 41 22 749 09 47
E-mail copyright@iso.org
Web www.iso.org
Published in Switzerland
ii © ISO/IEC 2007 – All rights reserved
Contents 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 quality . 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
© ISO/IEC 2007 – All rights reserved iii
Foreword
ISO (the International Organization for Standardization) and IEC (the International Electrotechnical
Commission) form the specialized 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 committees 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.
International 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. Publication 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 such 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
revised.
iv © ISO/IEC 2007 – All rights reserved
Introduction
The technology of bar coding is based on the recognition of patterns encoded in bars and spaces of defined
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, symbology 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 which they can refer when developing equipment and application standards.
© ISO/IEC 2007 – All rights reserved v
INTERNATIONAL STANDARD ISO/IEC 16388:2007(E)
Information technology — Automatic identification and data
capture techniques — Code 39 bar code symbology
specification
1 Scope
This International Standard specifies the requirements 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 Normative 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 technology — 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 — 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 capture (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 as 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).
© ISO/IEC 2007 – All rights reserved 1
2) 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 bars 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, depending 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);
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 ZONE
1A
Figure 1 — Code 39 symbol
4.3 Character encodation
4.3.1 Symbol character structure
Each symbol character comprises 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 narrow bars). This parity feature enables character self-checking to be carried out.
2 © ISO/IEC 2007 – All rights reserved
4.3.2 Symbol character assignments
Table 1 defines all the Code 39 character assignments.
Table 1 — Code 39 character assignments
ASCII
Char. Encodation Pattern BSBSBSBS B
value
0 0 001 10 10 0 48
1 1 001 00 00 1 49
2 0 011 00 00 1 50
3 1 011 00 00 0 51
4 0 001 10 00 1 52
5 1 001 10 00 0 53
6 0 011 10 00 0 54
7 0 001 00 10 1 55
8 1 001 00 10 0 56
9 0 011 00 10 0 57
A 1 000 01 00 1 65
B 0 010 01 00 1 66
C 1 010 01 00 0 67
D 0 000 11 00 1 68
E 1 000 11 00 0 69
F 0 010 11 00 0 70
G 0 000 01 10 1 71
H 1 000 01 10 0 72
I 0 010 01 10 0 73
J 0 000 11 10 0 74
K 1 000 00 01 1 75
L 0 010 00 01 1 76
M 1 010 00 01 0 77
N 0 000 10 01 1 78
O 1 000 10 01 0 79
P 0 010 10 01 0 80
Q 0 000 00 11 1 81
R 1 000 00 11 0 82
S 0 010 00 11 0 83
© ISO/IEC 2007 – All rights reserved 3
ASCII
Char. Encodation Pattern BSBSBSBSB
value
T 0 000 10 110 84
U 1 100 00 001 85
V 0 110 00 001 86
W 1 110 00 000 87
X 0 100 10 001 88
Y 1 100 10 000 89
Z 0 110 10 000 90
hyphen 0 100 00 101 45
period 1 100 00 100 46
space 0 110 00 100 32
$ 0 101 01 000 36
/ 0 101 00 010 47
+ 0 100 01 010 43
% 0 001 01 010 37
S/S or 0 100 10 100 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 represents 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
decoder.
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 character 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 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 (N): 2,0 : 1 to 3,0 : 1.
4 © ISO/IEC 2007 – All rights reserved
c) Width of intercharacter gap (I):
1) minimum: equal to X;
2) maximum:
for X < 0,287 mm: 5,3X;
for X ≥ 0,287 mm: 1,52 mm or 3X, whichever is greater.
d) Minimum width of quiet zone: 10X.
e) Recommended minimum bar code height for manual scanning: 5,0 mm or 15 % of symbol width
...
Questions, Comments and Discussion
Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.