We are pleased to announce the release of Aspose.Barcode for Java 17.3. This month’s release provides the capability to add checksum validation on Codabar coded barcode. An enhancement has also been made in this version to control fake/additional recognition of DutchKIX while MaxBarCodes mode is applied. Other than above mentioned new features, the API also fixes several bugs reported in the last version by the customers.

Adding Checksum Validation On Codabar

Aspose.BarCode for Java allows developers to add checksum validation on Codabar barcode. The API now exposes the CodabarChecksumMode enumeration to specify the checksum mode. BarCodeBuilder class has a property setEnableChecksum that needs to be set to TRUE before setting the checksum mode. Following code illustrates how to set this property and use the checksum enumeration.

//Instantiate BarCodeBuilder object
com.aspose.barcode.BarCodeBuilder builder = new com.aspose.barcode.BarCodeBuilder();
//Set the Code text for the barcode
//Set the symbology type to CodaBar
//Set the EnableChecksum property to yes
//Set the CodabarChecksumMode
//Save the image on the system

//Initialize reader object
BarCodeReader reader = new BarCodeReader("Codabar_Mod10.png", com.aspose.barcode.barcoderecognition.DecodeType.CODABAR);
//Set ChecksumValidation property of the reader to On
while (reader.read())
      //Get code text
      System.out.println(" codetext: " + reader.getCodeText());
      //Get type of barcode
      System.out.println(" type: " + reader.getCodeType());
      //Get checksum value
      System.out.println(" Checksum: " + reader.getCheckSum());


Complete list of enhancements and fixes in this release is as follows.

  • Functionality to recognize barcode with checksum has been improved.
  • New changes have been incorporated into the detection algorithm to read GS1DataMatrix barcode.
  • Improved the functionality to not detect fake/additional DutchKIX coded barcode.
  • GS1DataMatrix barcode generation algorithm has been updated generate much more clear tt>GS1DataMatrix barcode image.

To view a complete list of new features, fixes and to download the latest release, please visit Aspose.Barcode for Java 17.3 page in downloads section.

Aspose.BarCode for Java Resources

The following API resources can be of help to you in getting started with Aspose.BarCode: