Code128 barcode not recognised

Technical support for Spire.BarCode.

Moderator: iceblue support

Code128 barcode not recognised

Postby johnnyongesa » Thu Sep 22, 2016 3:26 pm

Hi, I generated a code128 barcode and printed the barcode then attached the barcode on a document and scanned the document. When i scan the image for the barcode spire does not find the bar code.
Below is the code to generate and scan the barcode. I have attached the barcode image

//generate bar code
BarcodeSettings bcsettings = new BarcodeSettings();
bcsettings.Type = BarCodeType.Code128;
bcsettings.BarHeight = 6;
bcsettings.ShowTextOnBottom = true;
bcsettings.LeftMargin = 2;
bcsettings.Data = BarCode;
bcsettings.TextMargin = 0;
bcsettings.TopMargin = 1;
Font drawFont2 = new Font("Arial", 11, FontStyle.Bold);
bcsettings.TextFont = drawFont2;
BarCodeGenerator bcgen = new BarCodeGenerator(bcsettings);
System.Drawing.Image bcimg = bcgen.GenerateImage();
//scan bar code
String[] bcdata = BarcodeScanner.Scan(bitmapimage, BarCodeType.Code128);
You do not have the required permissions to view the files attached to this post.
johnnyongesa
 
Posts: 1
Joined: Thu Sep 22, 2016 1:00 pm

Re: Code128 barcode not recognised

Postby Betsy.jiang » Fri Sep 23, 2016 3:59 am

Dear johnnyongesa,

Thanks for your inquiry.
I have noticed the issue and posted it to our Dev team. Once there is any progress, we will let you know.
Sorry for inconvenience caused.

Sincerely,
Betsy
E-iceblue support team
User avatar
Betsy.jiang
 
Posts: 1640
Joined: Tue Sep 06, 2016 8:30 am


Return to Spire.BarCode

Who is online

Users browsing this forum: No registered users and 0 guests