Spire.Barcode is a professional barcode library specially designed for .NET developers (C#, VB.NET, ASP.NET, .NET Core) and Java developers (J2SE and J2EE) to generate, read and scan 1D & 2D barcodes.

Wed Aug 31, 2016 6:20 pm

I am using spire bar-code type Code128B.
When I try to scan this bar-code using laser scanner, it doesn't work.
Could you please help?
Last edited by spirepap on Thu Apr 13, 2017 10:10 pm, edited 1 time in total.

spirepap
 
Posts: 17
Joined: Thu May 12, 2016 5:07 pm

Thu Sep 01, 2016 6:40 am

Dear spirepap,

Thanks for your inquiry.
From the code you provide, you create the barcode by Spire.PDF, I have noticed this issue and posted it to our Dev team.
Also, we suggest you use Spire.Barcode to create the barcode, here is sample code for your reference:
Code: Select all
            BarcodeSettings settings = new BarcodeSettings();
            settings = new BarcodeSettings();
            string data = "barcodevalue";
            settings.Type = BarCodeType.Code128;
            settings.ShowText = false;
            settings.ShowTopText = false;
            settings.Data2D = data;
            settings.Data = data;
            BarCodeGenerator generator = new BarCodeGenerator(settings);
            Image barcode = generator.GenerateImage();
            barcode.Save(@"barcode.png");

If there is any question, welcome to get it back to us.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy
 
Posts: 802
Joined: Mon Jan 19, 2015 6:14 am

Wed Sep 07, 2016 8:36 am

Dear spirepap,

Thanks for your waiting.
The issue you mentioned has been fixed in Spire.PDF, welcome to test it.
www.e-iceblue.com/downloads/TempVersion ... .7.297.zip
If there is any question, welcome to get it back to us.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy.jiang
 
Posts: 3099
Joined: Tue Sep 06, 2016 8:30 am

Return to Spire.BarCode