Generate GS1-128 AI 8102 coupon extended and UPCA & GS1 Databar coupon barcodes using Aspose.BarCode for .NET 16.10

Share on FacebookTweet about this on TwitterShare on LinkedIn

We are pleased to announce the release of Aspose.Barcode for .NET 16.10. This release supports generating GS1-128 AI 8102 coupon extended barcode type. This release also supports generating UPCA & GS1 Databar coupon coded barcodes. Support for setting wide narrow ratio of the bars in barcode have also been incorporated in this release.

Generate GS1-128 AI 8102 coupon extended barcode

Aspose.Barcode for .NET allows you to generate GS1-128 AI 8102 coupon extended barcode. Following is the simple code demonstration.



// Initialize BarCode builder class object
BarCodeBuilder barCodeBuilder = new BarCodeBuilder();

// Set symbology type as GS1-128 AI 8102 coupon extended and set the barcode text
barCodeBuilder.SymbologyType = Symbology.UpcaGs1Code128Coupon;

// upca part is "514141100906", GS1Code128 part is "(8102)03"
barCodeBuilder.CodeText = "514141100906(8102)03";

// save barcode
barCodeBuilder.Save("UpcaGs1Code128Coupon.png");

Generate UPCA & GS1 Databar coupon barcode

Aspose.Barcode for .NET now supports UPCA & GS1 Databar coupon barcode. Following is the sample code demonstration.



// Initialize BarCode builder class object
BarCodeBuilder barCodeBuilder = new BarCodeBuilder();

// Set symbology type as UPCA & GS1 Databar coupon and set the barcode text
barCodeBuilder.SymbologyType = Symbology.UpcaGs1DatabarCoupon;

// upca part is "514141100906", GS1Databar part is "(8110)001234502239811110555"
barCodeBuilder.CodeText = "512345678900(8110)001234502239811110555";

// set barcode caption
barCodeBuilder.CaptionAbove.Text = "012345-022398";

// save barcode
barCodeBuilder.Save("couponUpcaDatabar.png");

Setting wide narrow ratio for bars in barcode

Using Aspose.Barcode for .NET, developers can set the wide narrow ratio of the bars in the barcode. Following is the sample code snippet to set the wide narrow ratio.


// Create an instance of BarCodeBuilder class.
// Set the symbology and code text.
BarCodeBuilder barCodeBuilder = new BarCodeBuilder("blackReduction", Symbology.Code128);

// Set X dimension.
barCodeBuilder.xDimension = 1.2f;

// Set bar width reduction property
barCodeBuilder.BarWidthReduction = 0.2f;

// Save the barcode image
barCodeBuilder.Save("blackReduction.png");

Enhancements

Following is a list of improvements included in this release.

  • Process of reading PDF417 barcode has been improved.
  • Process of reading Code93Standard barcode has been improved.
  • Process of reading datamtrix barcode has been improved.
  • Process of reading EAN13 barcode has been improved.
  • Functionality to generate QR barcode with custom height and width has been improved.
  • Functionality to generate ISSN barcode has been improved.

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

Aspose.BarCode for .NET Resources

The resources, you may need to accomplish your tasks: