Free Support Forum - aspose.com

Upgrade dll versione

Hi,
we are using aspose.barcode.dll version 3.0.0.0.
We will use GS1 datamatrix code but it seems not supported with this version. Right?
Can you tell me how to upgrade our .dll to be able to use this type of barcode?

thanks
best regards

@davidecerea,

3.0 is very old version and is not recommended. We always recommend the latest versions to get the best results with more features and fixes. To use the latest version, you can download it from Nuget or our Downloads section and upgrade your license to latest one.

Please check Aspose.BarCode for .NET pricing page for more information.

thanks for your answer, I’ll send an email to sales office to upgrade our licence.
I’m trying to create GS1Datamatrix with trial licence but I have some problems to create the same barcode like attachment.
GS1.jpg (16.8 KB)

My code is
string CODICE = “(90)0843110730<<<<452287005001T8”;
Aspose.BarCode.License licenza = new Aspose.BarCode.License();
licenza.SetLicense(“Aspose.BarCode.lic”);
Aspose.BarCode.BarCodeBuilder bcb = new Aspose.BarCode.BarCodeBuilder(CODICE, Aspose.BarCode.Generation.EncodeTypes.GS1DataMatrix);
bcb.CodeLocation = Aspose.BarCode.CodeLocation.Right;
bcb.Resolution = new Aspose.BarCode.Resolution(300, 300, Aspose.BarCode.ResolutionMode.Customized);
Bitmap lBmp = bcb.GenerateBarCodeImage();
lBmp.Save(“test.bmp”);

when I run this code my result is
test.jpg (3.4 KB)

How can I have the output like the first image?

thanks for your support
best regards

@davidecerea,

We are working on it and will update you soon.

@davidecerea,

Sorry for the delayed response. There are two differences between your expected and generated images.

  1. Your expected barcode does not have parenthesis around the AI 90 but the Aspose.BarCode output has parenthesis around AI 90 i.e. (90).

  2. Your expected barcode text is wrapped to multiple lines whereas the Aspose.BarCode output displays the text on a single line.

Can you please share if you were referring to both of these difference or any one of them?

hi,
the GS1.jpg image is how our customer want the label.
the test.jpg is how dll make the barcode.
there’s a way to generate an image like GS1.jpg ?
if it’s not possible I will create image only with barcode without bcb.codelocation and I’ll write a text label on the right of barcode.

best regards

@davidecerea,

Apparently, this is not supported and a new feature request to support this feature has been logged into our issue tracking system as BARCODENET-36952. You will be able to generate this type of image once BARCODENET-36952 is resolved. We will investigate this issue further and will share more details once it is investigated. We are sorry for the inconvenience.

The issues you have found earlier (filed as BARCODENET-36952) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by muhammadahmad