Read Australia Post Barcodes

Overview

Australia Post is a 4-state postal symbology used in the Australian Post. In this barcode standard, input messages include specific 2-digit format control code (FCC) fields and 8-digit sorting code (SC) fields. FCC fields are used to indicate one of three available barcode types with different fixed lengths: 37, 52, or 67 bars. Depending on FCC, barcodes may contain a customer information (CI) field that identifies one of the encoding types that support numerical or alphanumeric symbols. Customer information can occupy 16 bars in 52-length barcodes or 31 bars in 67-length ones. The Australia Post standard contains a checksum and information used for Reed-Solomon data recovery.
See more details about this symbology here.

Due to the possibility to add customer information in barcode input data, barcode recognition for Australia Post barcodes has some specifics. In Aspose.BarCode for C++, developers can use class AustraliaPostSettings to customize recognition parameters for this barcode standard according to particular requirements. Further, the main properties of class AustraliaPostSettings are explained in detail.

Decode Customer Information in Standard Formats

The Australia Post symbology allows encoding additional customer information in three different formats; automatic recognition of the format used for encoding is not possible. In Aspose.BarCode for C++, the required decoding format can be set in the CustomerInformationInterpretingType field that can take the following values as explained in the table below.

Australia Post Encoding Table Supported Symbols
CTable Numerical digits, English letters, space symbol, and #
NTable Numerical digits
Other 0, 1, 2, and 3 that correspond to H, A, D, and T states, respectively

CTable

NTable

Other

Remove Filling Patterns

The Australia Post standard imposes using fixed size for each subtype. When barcode decoding is performed in the CTable format, the data filling empty space in the input message is decoded as symbol ā€œzā€. To avoid such a result, it is necessary to set the IgnoreEndingFillingPatternsForCTable property to True.

Decode Customer Information in Custom Format

Aspose.BarCode for C++ allows developers to decode customer information in their own format. For this purpose, the library provides a special interface called CustomerInformationDecoder. In such a way, decoding of barcode data is performed using this interface; the properties CustomerInformationInterpretingType and IgnoreEndingFillingPatternsForCTable are ignored.