PostNet codes are the clocked codes used in the US mail system. There are three types of PostNet code (identified as A, C and C’) that differ in the number of characters encoded. These codes are based on the US ZIP code system and use numbers only.
|
Code type |
number of code characters |
|
A |
5 |
|
C |
9 |
|
C’ |
11 |
This code must begin with a start character and must end with a stop character. The start character is § (Chr$(167)) and the stop character is ¬ (Chr$(172)).
For convenience in typing the open bracket ( may be used as the start character, and the close bracket ) may be used as the stop character.
For convenience of use the dLSoft barcode font also allows the ( to used as a start character, and the ) to be used for the stop character.
PostNet codes require a single check digit that may be calculated by adding up the numerical value of each character in the code and setting the check digit equal to the character that represents the number that must be added to the sum to give a multiple of 10.
The dFont program provided with the dLSoft Barcode fonts calculates check digits for PostNet codes, and the source code is provided and may be adapted to the users needs - for example, for automating the calculation in a spreadsheet or database.
More: