What Is The Formula for the 3 of 9 Bar Code Alphabet?
Posted
by
Chris Moschini
on Programmers
See other posts from Programmers
or by Chris Moschini
Published on 2012-06-15T22:49:21Z
Indexed on
2012/06/16
3:23 UTC
Read the original article
Hit count: 225
algorithms
|barcode
Background: 3 of 9 Barcode Alphabet
A simple syntax for 3 of 9 bar codes
What is the formula behind the alphabet and digits in a 3 of 9 bar code?
For example, ASCII has a relatively clear arrangement. Numbers start at 33, capitals at 65, lowercase at 97. From these starting points you can infer the ASCII code for any number or letter. The start point for each range is also a multiple of 32 + 1.
Bar codes seem random and lacking sequence. If we use the syntax from the second link, this is the first six characters in 3 of 9:
A 100-01
B 010-01
C 110-00
D 001-01
E 101-00
F 011-00
I see no pattern here; what is it? I'm as much interested in the designer's intended pattern behind these as I am in someone devising an algorithm of their own that can give you the above code for a given character based on its sequence.
I struggled with where to put this question; is it history, computer science, information science? I chose Programmers because a StackExchange search had the most barcode hits here, and because I wanted to specifically relate it to ASCII to explain what sort of formula/explanation I'm looking for.
© Programmers or respective owner