Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Code 39
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Short description|Variable length, discrete barcode symbology}} '''Code 39''' (also known as '''Alpha39''', '''Code 3 of 9''', '''Code 3/9''', '''Type 39''', '''USS Code 39''', or '''USD-3''') is a variable length, discrete [[barcode]] symbology defined in [[ISO]]/[[International Electrotechnical Commission|IEC]] 16388:2023. The Code 39 specification defines 43 characters, consisting of uppercase letters (A through Z), numeric digits (0 through 9) and a number of special characters (-, ., $, /, +, %, and [[space (punctuation)|space]]). An additional character (denoted '*') is used for both start and stop delimiters. Each character is composed of nine elements: five bars and four spaces. Three of the nine elements in each character are wide (binary value 1), and six elements are narrow (binary value 0). The barcode scheme does not contain a check digit (in contrast to—for instance—[[Code 128]]), but it can be considered self-checking on the grounds that a single erroneously interpreted bar cannot generate another valid character. Possibly the most serious drawback of Code 39 is its low data density: It requires more space to encode data in Code 39 than, for example, in Code 128. This means that very small goods cannot be labeled with a Code 39 based barcode. However, Code 39 is still used by some postal services (although the [[Universal Postal Union]] recommends using Code 128 in all cases<ref>As one example of an international standard, see {{cite web |title=Identification of postal items – 13-character identifier |date=17 October 2017 |url=https://www.upu.int/UPU/media/upu/files/postalSolutions/programmesAndServices/standards/S10-12.pdf|publisher=[[Universal Postal Union]] }}</ref>), and can be decoded with virtually any [[barcode reader]]. One advantage of Code 39 is that since there is no need to generate a check digit, it can easily be integrated into an existing printing system by adding a barcode font to the system or printer and then printing the raw data in that font. Code 39 was developed by [[David Allais|Dr. David Allais]] and Ray Stevens of [[Intermec]] in 1974. Their original design included two wide bars and one wide space in each character, resulting in 40 possible characters. Setting aside one of these characters as a start and stop pattern left 39 characters, which was the origin of the name Code 39.<ref>{{cite journal |author=Allais, D. C. |year=2006 |title=AIDC Memoirs |url=http://aidc100.org/files/Allais-_David_Memoirs.pdf |access-date=2010-06-02 |archive-url=https://web.archive.org/web/20130126112426/http://aidc100.org/files/Allais-_David_Memoirs.pdf |archive-date=2013-01-26 |url-status=dead }}</ref> Four punctuation characters were later added, using no wide bars and three wide spaces, expanding the character set to 43 characters. Code 39 was later standardised as [[ANSI]] MH 10.8 M-1983 and MIL-STD-1189.<ref>{{cite web |url=https://apps.dtic.mil/sti/tr/pdf/ADA473534.pdf |title=MIL-STD-1189 Standard Department of Defense Barcode Symbology |date=1989-08-10 |accessdate=2024-06-30 |archive-url=https://web.archive.org/web/20240701064338/https://apps.dtic.mil/sti/tr/pdf/ADA473534.pdf |archive-date=2024-07-01 |url-status=live }}</ref> MIL-STD-1189 has been cancelled and replaced by ANSI/AIM BC1/1995, Uniform Symbology Specification — Code 39.<ref>{{cite web |url=http://www.dscp.dla.mil/subs/support/specs/crds/milstan.asp |title=Adoption Notice: AIM/BC1 Uniform Symbology Specification |date=1997-06-19 |accessdate=2011-04-06 |archiveurl=https://web.archive.org/web/20110927231714/http://www.dscp.dla.mil/subs/support/specs/crds/milstan.asp |archivedate=2011-09-27 |url-status=dead }}</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)