Defines the interpreting type(C_TABLE or N_TABLE) of customer information for AustralianPost BarCode.
More...
Inherits Enum.
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 = Recognition.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())