PostBar

Last updated

PostBar, also known as CPC 4-State, is the black-ink barcode system used by Canada Post in its automated mail sorting and delivery operations. It is similar to other 4 State barcode systems used by Australia Post and the United Kingdom's Royal Mail (from which it derives), but uses an obscured structure and encoding system unique to Canada Post. This particular bar code system is used on "flats" (which are larger-than-letter-size pieces of mail, such as magazines) and parcels.

Contents

CPC PostBar legend.svg

This symbology, derived from the RM4SCC system used by the British Royal Mail, uses a series of bars, each of which can individually have one of four possible states, to encode information used in automated sortation and delivery onto each piece of mail. Each bar can either be short and centred (known as a tracker), medium and elevated (an ascender), medium and lowered (a descender), or full height. This symbology also uses an element known as a Data Content Identifier (or DCI), which specifies what types of information are encoded into each barcode, such as postal codes, customer information, and exact delivery points. The information that goes into each barcode is obtained from the address printed on the front of the envelope it is ultimately printed on, as well as the physical dimensions of each piece of mail. This code also uses a Reed–Solomon error correction technique, so that in case a particular piece of mail is mishandled, the information encoded in the barcode can still be correctly decoded.

Character sets

Chart of PostBar characters CPC PostBar character chart.png
Chart of PostBar characters

Four character sets are used in PostBar codes, known as "A", "N", "Z" and "B" characters. Three-bar A characters are used exclusively to encode letters, and two-bar N characters encode only digits. Three-bar Z characters can encode either letters or digits. A and N characters are typically used to encode postal codes and country codes. Z characters are used for address locators, product types, and customer and service information. B characters are one bar each, and are used to encode base-4 machine IDs for Canada Post's internal uses.

The bars making up a character can be interpreted as base-3 digits. A full height bar encodes 0, a short lower bar (an ascender) encodes 1, and a short upper bar (a descender) encodes 2. The leftmost bar in a group is the most significant trit, and may have the value 3, with both upper and lower bars short (a tracker).

In other words, short upper and lower bars are assigned weights of 18 & 9, 6 & 3, and 2 & 1, from left to right. Since the first bar has 4 possible values, and the following bars have 3, 2 bars can encode 4×3 = 12 values, while 3 bars can encode 4×3×3 = 36.

N characters are simply encoded as the values 0–9. Only the value 9 requires a leading 3.

Z characters use the full 36 combinations representable by 3 bars. The values 0–25 encode the letters A–Z, and 26–35 encode the digits 0–9.

A characters have a somewhat peculiar encoding. They can also be decoded as three base-3 digits (a leading 3 is never used), with the values 2–26 mostly encoding A–Y. Exceptions are that 0 encodes M, 1 encodes H, 9 encodes Z (rather than H), and code 14 is not used (rather than encoding M).

PostBar formats

Canada Post uses nine different formats of PostBar codesthree "domestic" barcodes, used on mail within Canada, two "global" codes, used to route mail outside Canada, three "service" codes, used on customer-applied barcodes, and an "internal" code, used for testing, maintenance, and tracking purposes by Canada Post.

Each barcode begins and ends with an identical pair of bars, known as "start" and "stop" fields. These are made up of one ascender and one tracker. The Data Content Identifier is always the first character after the start field.

Placeholders used to detail each PostBar format below are A, N, Z and B for the character sets described above, * for the start and stop fields, # for a space character (two full-height bars followed by one tracker), and [RS-nn] for the error-correction field, where nn is the number of bars used. Bold Z's indicate DCIs.

Domestic

See caution at bottom of article regarding use of PostBar codes.

DCI's used in domestic barcodes fall within the range of A–L.

Global

DCI's used in global barcodes fall within the range of 1–9.

Service

DCI's used in service barcodes fall within the range of M–U.

Internal use

DCI's used in internal barcodes fall within the range of V–Z.

Business reply mail

52 bar long 4-state barcodes are used by Canada Post for business reply mail (BRM) addressing and payment. [1] As of 2013 or earlier the previous BRM barcode, which were Code 93-type barcodes, were deemed non-machineable. [2] An extended 73 bar long BRM barcode 'C73' , scheduled for availability from 2011, was indefinitely postponed. [3]

Caveat Lector

The PostBar barcode dimensions, formats, and symbology examples in Canada Post 4-State Bar Code Handbook [4] and as actually implemented by Canada Post are significantly different from the formats and symbology described in this article and in U.S. patent 5,602,382 .

Example of the D12 PostBar format as given in U.S. Patent 5,602,382 PostBarExampleFromPatent D12.png
Example of the D12 PostBar format as given in U.S. Patent 5,602,382

For PostBar format D12, as described in this article and shown here, the Postal Code is encoded using fifteen bars and the 'A' and 'N' character sets. The Address Locater encodes four alphanumerics using twelve bars and the 'Z' characters set. This format also includes a space character and twelve bars for Reed–Solomon error correction for a total count of forty nine bars.

Example of the D52.01 PostBar format as given in Canada Post's 4-State Bar Code Handbook PostBarExampleFromHandbook D52 01.png
Example of the D52.01 PostBar format as given in Canada Post's 4-State Bar Code Handbook

On the other hand, PostBar format D52.01, as described in and shown here, encodes the Postal Code using only twelve bars and an unknown symbology. It encodes nine alphanumerics in the Address Locater field using twenty one bars and another unknown symbology. It does not include any fields for space characters, but it does include twelve bars for Reed–Solomon error correction for a total count of fifty two bars.

Most significantly these two different formats use exactly the same code for their Data Content Identifier field; specifically two Full Height bars and an Ascender ( PostBar B Z.png ) which corresponds to a 'B' character using the 'Z' symbology. From samples of mail being delivered by Canada Post, the D52.01 format with an unknown symbology is the implemented standard, and not format D12 as described in this article.

Postal customers who attempt to include a D12 formatted PostBar code, or any other PostBar format or symbology as described in this article may find it is misinterpreted by Canada Post's sorting machinery. This could possibly delay or even prevent their mail being delivered.

See also

Related Research Articles

<span class="mw-page-title-main">Universal Product Code</span> Barcode symbology used for tracking trade items in stores

The Universal Product Code is a barcode symbology that is widely used worldwide for tracking trade items in stores.

<span class="mw-page-title-main">Barcode</span> Optical machine-readable representation of data

A barcode or bar code is a method of representing data in a visual, machine-readable form. Initially, barcodes represented data by varying the widths, spacings and sizes of parallel lines. These barcodes, now commonly referred to as linear or one-dimensional (1D), can be scanned by special optical scanners, called barcode readers, of which there are several types.

<span class="mw-page-title-main">Code 39</span> Variable length, discrete barcode symbology

Code 39 is a variable length, discrete barcode symbology defined in ISO/IEC 16388:2007.

POSTNET is a barcode symbology used by the United States Postal Service to assist in directing mail. The ZIP Code or ZIP+4 code is encoded in half- and full-height bars. Most often, the delivery point is added, usually being the last two digits of the address or PO box number.

<span class="mw-page-title-main">PDF417</span> Type of barcode

PDF417 is a stacked linear barcode format used in a variety of applications such as transport, identification cards, and inventory management. "PDF" stands for Portable Data File. The "417" signifies that each pattern in the code consists of 4 bars and spaces in a pattern that is 17 units (modules) long. The PDF417 symbology was invented by Dr. Ynjiun P. Wang at Symbol Technologies in 1991. It is defined in ISO 15438.

<span class="mw-page-title-main">Code 128</span> Barcode format

Code 128 is a high-density linear barcode symbology defined in ISO/IEC 15417:2007. It is used for alphanumeric or numeric-only barcodes. It can encode all 128 characters of ASCII and, by use of an extension symbol (FNC4), the Latin-1 characters defined in ISO/IEC 8859-1. It generally results in more compact barcodes compared to other methods like Code 39, especially when the texts contain mostly digits. Code 128 was developed by the Computer Identics Corporation in 1981.

<span class="mw-page-title-main">Code 93</span>

Code 93 is a barcode symbology designed in 1982 by Intermec to provide a higher density and data security enhancement to Code 39. It is an alphanumeric, variable length symbology. Code 93 is used primarily by Canada Post to encode supplementary delivery information. Every symbol includes two check characters.

CPC Binary Barcode is Canada Post's proprietary symbology used in its automated mail sortation operations. This barcode is used on regular-size pieces of mail, especially mail sent using Canada Post's Lettermail service. This barcode is printed on the lower-right-hand corner of each faced envelope, using a unique ultraviolet-fluorescent ink.

<span class="mw-page-title-main">International Article Number</span> Standard barcode system used in global trade

The International Article Number is a standard describing a barcode symbology and numbering system used in global trade to identify a specific retail product type, in a specific packaging configuration, from a specific manufacturer. The standard has been subsumed in the Global Trade Item Number standard from the GS1 organization; the same numbers can be referred to as GTINs and can be encoded in other barcode symbologies defined by GS1. EAN barcodes are used worldwide for lookup at retail point of sale, but can also be used as numbers for other purposes such as wholesale ordering or accounting. These barcodes only represent the digits 0–9, unlike some other barcode symbologies which can represent additional characters.

The Postal Alpha Numeric Encoding Technique (PLANET) barcode was used by the United States Postal Service to identify and track pieces of mail during delivery – the Post Office's "CONFIRM" services. It was fully superseded by Intelligent Mail Barcode by January 28, 2013.

Codabar is a linear barcode symbology developed in 1972 by Pitney Bowes Corp. It and its variants are also known as Codeabar, Ames Code, NW-7, Monarch, Code 2 of 7, Rationalized Codabar, ANSI/AIM BC3-1995 or USD-4. Although Codabar has not been registered for US federal trademark status, its hyphenated variant Code-a-bar is a registered trademark.

<span class="mw-page-title-main">MSI Barcode</span> Barcode symbology

MSI is a barcode symbology developed by the MSI Data Corporation, based on the original Plessey Code symbology. It is a continuous symbology that is not self-checking. MSI is used primarily for inventory control, marking storage containers and shelves in warehouse environments.

<span class="mw-page-title-main">RM4SCC</span> Barcode system used by Royal Mail

RM4SCC is the name of the barcode character set based on the Royal Mail 4-State Bar Code symbology created by Royal Mail. The RM4SCC is used for the Royal Mail Cleanmail service. It enables UK postcodes as well as Delivery Point Suffixes (DPSs) to be easily read by a machine at high speed.

<span class="mw-page-title-main">Intelligent Mail barcode</span> Barcode for use on U.S. mail

The Intelligent Mail Barcode (IMb) is a 65-bar barcode for use on mail in the United States. The term "Intelligent Mail" refers to services offered by the United States Postal Service for domestic mail delivery. The IM barcode is intended to provide greater information and functionality than its predecessors POSTNET and PLANET. An Intelligent Mail barcode has also been referred to as a One Code Solution and a 4-State Customer Barcode, abbreviated 4CB, 4-CB or USPS4CB. The complete specification can be found in USPS Document USPS-B-3200. It effectively incorporates the routing ZIP Code and tracking information included in previously used postal barcode standards.

Plessey Code is a 1D linear barcode symbology based on pulse-width modulation, developed in 1971 by The Plessey Company plc, a British-based company. It is one of the first barcode symbology, and is still used rarely in some libraries and for shelf tags in retail stores, in part as a solution to their internal requirement for stock control. The system was first used in the early 1970s by J.Sainsbury to identify all of its products on supermarket shelves for its product restocking system.

<span class="mw-page-title-main">David Allais</span> American expert and inventor (born 1933)

David Allais is an American expert and inventor in the fields of bar coding and automatic identification and data capture. As vice president and later president and chief executive officer of Everett, Washington-based Intermec Inc. (NYSE:IN), he built the company from a small startup into the leading manufacturer of bar code and printing equipment. Prior to Allais' role at Intermec, he served as a manager for IBM. Most recently, Allais founded PathGuide Technologies, a Bothell, Washington-based developer of warehouse management systems for distributors.

Industrial 2 of 5. is a variable length, discrete, two width symbology. Industrial 2 of 5 is a subset of two-out-of-five codes.

<span class="mw-page-title-main">Codablock</span>

Codablock is a family of stacked 1D barcodes which was invented in Identcode Systeme GmbH in Germany in 1989 by Heinrich Oehlmann. Codablock barcodes are based on stacked Code 39 and Code 128 symbologies and have some advantages of 2D barcodes.

<span class="mw-page-title-main">Matrix 2 of 5</span>

Matrix 2 of 5 is a variable length, discrete, two width symbology. Matrix 2 of 5 is a subset of two-out-of-five codes. Unlike Industrial 2 of 5 code, Matrix 2 of 5 can encode data not only with black bars but with white spaces.

<span class="mw-page-title-main">MicroPDF417</span>

MicroPDF417 is two-dimensional (2D) stacked barcode symbology invented in 1996, by Frederick Schuessler, Kevin Hunter, Sundeep Kumar and Cary Chu from Symbol Technologies company. MicroPDF417 consists from specially encoded Row Address Patterns (RAP) columns and aligned to them Data columns encoded in "417" sequence which was invented in 1990. In 2006, the standard was registered as ISO/IEC 24728:2006.

References

  1. "Designing Business Reply Mail" (PDF). Canada Post. 11 Jan 2016. Retrieved 18 February 2016.
  2. "Machineable Standard (S/L) Business Reply Mail" (PDF). Canada Post. Retrieved 18 February 2016.
  3. "Business Reply Mail Changes FAQ". Canada Post. Retrieved 18 February 2016.
  4. "Canada Post 4-State Bar Code Handbook" (PDF). Canada Post Corporation. Archived (PDF) from the original on March 21, 2006. Retrieved October 10, 2019.

Related websites