How to read postal bar codes

A postal bar code is composed of three main components: framing bars, number bars, and checksum bars.

The first bar on the left side and the last bar on the right side of the postal bar code are framing bars for the postal bar code. You can ignore these; they tell the automation equipment when to start and stop reading.

To read a bar code, group the bars into groups of five bars each. Each group of five lines represents a number, as a unique pattern of short bars and long bars.  In the table below, the "|" represents a tall bar and the "," represents a short bar:

   Number   Bar code          Number    Bar code
————————- —————————
0 ||,,, 5 ,|,|,
1 ,,,|| 6 ,||,,
2 ,,|,| 7 |,,,|
3 ,,||, 8 |,,|,
4 ,|,,| 9 |,|,,

Try it yourself:

start with:

||,|,,|,,|,||,,,,|,|,,,|,|,||,,,,||,|,|,,|,|,,||,,,,,,|||,,|,|

now seperate the bar code into groups of five bars, setting aside the first bar and the last (the framing bars):

|     |,|,,     |,,|,     ||,,,     ,|,|,     ,,|,|     ,||,,     ,,||,     |,|,,     |,|,,     ||,,,     ,,,||     |,,|,     |

and you should get 98052-6399. 

Notice that the zip code has nine numbers but there are 12 groups of five bars?  The last three bars are important as well.  The first two of the extra three are the first two digits of the delivery address, and the last group of five is the check sum digit, a meaningless number that allows the sum of all twelve numbers in the bar code to add up to a multiple of 10.
Breakdown of Sample Bar Code
+— Framing Bar                                             Framing Bar —+
| |
| |
v v
| |,|,, |,,|, ||,,, ,|,|, ,,|,| ,||,, ,,||, |,|,, |,|,, ||,,, ,,,|| |,,|, |
——- ——- ——- ——- ——- ——- ——- ——- ——- ——- ——- ——-
9 8 0 5 2 6 3 9 9 0 1 8
————————————- —————————- ———- —-
Zip Code Zip+4 Last Check-
Two sum
Digits Digit
of
Street
Address

-or-

Multi-
Unit
Digits

 

What did you think of this article?




Trackbacks
  • No trackbacks exist for this post.
Comments
  • No comments exist for this post.
Leave a comment

Submitted comments are subject to moderation before being displayed.

 Name (required)

 Email (will not be published) (required)

 Website

Your comment is 0 characters limited to 3000 characters.