Aspose.Barcode for Python via Java Generation and Recognition API docs
asposebarcode.Recognition.CustomerInformationInterpretingType Class Reference

Defines the interpreting type(C_TABLE or N_TABLE) of customer information for AustralianPost BarCode. More...

Inherits Enum.

Static Public Attributes

int C_TABLE = 0
 
int N_TABLE = 1
 
int OTHER = 2
 

Detailed Description

Defines the interpreting type(C_TABLE or N_TABLE) of customer information for AustralianPost BarCode.

Use C_TABLE to interpret the customer information. Allows A..Z, a..z, 1..9, space and sing.

  generator = BarcodeGenerator(EncodeTypes.AUSTRALIA_POST, "5912345678ABCde")
  generator.getParameters().getBarcode().getAustralianPost().setAustralianPostEncodingTable(CustomerInformationInterpretingType.C_TABLE)
  image = generator.generateBarCodeImage()
  reader = BarCodeReader(image, DecodeType.AUSTRALIA_POST)
  reader.setCustomerInformationInterpretingType(CustomerInformationInterpretingType.C_TABLE)
  for result in reader.readBarCodes():
      print("BarCode Type: " + result.getCodeType())
      print("BarCode CodeText: " + result.getCodeText())

Member Data Documentation

◆ C_TABLE

int asposebarcode.Recognition.CustomerInformationInterpretingType.C_TABLE = 0
static

◆ N_TABLE

int asposebarcode.Recognition.CustomerInformationInterpretingType.N_TABLE = 1
static

◆ OTHER

int asposebarcode.Recognition.CustomerInformationInterpretingType.OTHER = 2
static