USPS Intelligent Mail barcode is a height-modulated barcode
that encodes up to 31-digits of mailpiece data into 65 vertical
bars.
Encoding
USPS Intelligent Mail encodes a 31-digit string into 65 vertical
bars each representing one of four possible states: full bar,
ascender, tracker, and descender.
USPS Intelligent Mail will carry a data payload of 31 digits
including the following elements:
| Type |
Field |
Digits |
| Tracking Code |
Barcode Identifier |
2 (2nd digit must be 0–4) |
| Service Type Identifier |
3 |
| Mailer Identifier |
6 or 9 |
| Serial Number |
9 (when used with 6 digit Mailer ID)
6 (when used with 9 digit Mailer ID)
|
| Routing Code |
Delivery Point ZIP Code |
0, 5, 9, or 11 |
| Total |
31 maximum |
For each of the fields above, except the Routing Code, leading or
trailing zeros shall be provided to achieve the correct size. Spaces
and nulls are not acceptable characters for padding. For ZIP Codes,
which have one of four lengths, encoding shall provide padding
beyond the digits to be encoded. No error detection and correction,
such as a checksum with POSTNET or PLANET, shall be included as part
of the data fields. Error detection and correction shall be added as
part of the encoding process. The fields are described as
follows:
-
The Barcode Identifier shall be assigned by USPS to encode the
presort identification that is currently printed in human
readable form on the optional endorsement line (OEL) as well as
for future USPS use. This shall be two digits, with the second
digit in the range of 0–4. The allowable encoding ranges shall
be 00–04, 10–14, 20–24, 30–34, 40–44, 50–54, 60–64, 70–74,
80–84, and 90–94. The list of valid field values is provided in
Appendix A.
-
The Service Type Identifier shall be assigned by USPS for any
combination of services requested on the mailpiece. The
allowable encoding range shall be 000–999. Each 3-digit value
shall correspond to a particular mail class with a particular
combination of service(s). Each service program, such as OneCode
Confirm and OneCode ACS, shall provide the list of Service Type
Identifier values. The list of valid field values when no
services are requested is provided in Appendix A.
-
The Mailer or Customer Identifier shall be assigned by USPS as a
unique, 6 or 9 digit number that identifies a business entity.
The allowable encoding range for the 6 digit Mailer ID shall be
000000- 899999, while the allowable encoding range for the 9
digit Mailer ID shall be 900000000-999999999.
-
The Serial or Sequence Number shall be assigned by the mailer
for uniquely identifying and tracking mailpieces. The allowable
encoding range shall be 000000000–999999999 when used with a 6
digit Mailer ID and 000000-999999 when used with a 9 digit
Mailer ID.
-
The Delivery Point ZIP Code shall be assigned by the mailer for
routing the mailpiece. This shall replace POSTNET for routing
the mailpiece to its final delivery point. The length may be 0,
5, 9, or 11 digits. The allowable encoding ranges shall be no
ZIP Code, 00000–99999, 000000000–999999999, and
00000000000–99999999999.
USPS Intelligent Mail data examples
20 digit length: 04370365154032589210
25 digit length: 0437036515403258921034567
29 digit length: 04370365154032589210345671234
31 digit length: 0437036515403258921034567123456
USPS Intelligent Mail Properties
Besides the properties to general barcode, the following properties
belongs to USPS Intelligent Mail:
PostnetHeightTall gets or sets tall bar
height for Postnet, Planet or USPS Intelligent Mail. Default is
0.127 inch.
PostnetHeightShort gets or sets short bar
height for Postnet, Planet or USPS Intelligent Mail. Default is 0.05
inch.
PostnetSpacing gets or sets space the for
Postnet, Planet or USPS Intelligent Mail. Default is 0.026 inch.
Copyright 2008,
halfpricesoft.com
All Rights Reserved