Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Fri May 11, 2018 1:57 am

Hi, I'm trying to add a Code 128C bar code to my PDF, but it keeps adding the incorrect text to the bottom. It keeps adding texts like ">V" or ">J", etc. Instead of this text - "127621574". Do you know what could be going on? Here's my code -

Code: Select all
PdfCode128CBarcode barcode1 = new PdfCode128CBarcode(strOrderNumber.Trim());
barcode1.BarcodeToTextGapHeight = 3f;
barcode1.BarHeight = 40;
barcode1.NarrowBarWidth = .8f; //width setup.
barcode1.TextDisplayLocation = TextLocation.Bottom;
barcode1.Draw(page, new PointF(x, y));


By the way, I'm on the latest version 4.4.11.

jumper4000
 
Posts: 12
Joined: Thu Mar 01, 2018 11:46 pm

Fri May 11, 2018 2:25 am

I just found out that the bar code it generates won't even scan. Code 39 seems fine, but not Code 128C. If I generate the same bar code using this site - http://www.keepautomation.com/online_ba ... index.aspx, it scans just fine.

Thanks for your help.

jumper4000
 
Posts: 12
Joined: Thu Mar 01, 2018 11:46 pm

Fri May 11, 2018 3:29 am

Hello,

Thanks for your post.
I have reproduced the issue and logged it in our bug tracking system. Once there's any update, I will let you know.
So sorry for the inconvenience caused.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Fri May 11, 2018 9:47 pm

Will you guys update the free version as well? This seems like a pretty major issue, and is a show stopper.

jumper4000
 
Posts: 12
Joined: Thu Mar 01, 2018 11:46 pm

Mon May 14, 2018 1:35 am

Hello jumper4000,

Sorry to tell that we would not update our free version, the fixes are only included in the commercial edition. One more thing, the issue you posted has been resolved and it is waiting for the test. Once the hotfix is available, I will let you know.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Thu May 17, 2018 3:20 am

Hello jumper4000,

How are you?
Glad to inform that the issue has been resolved and the hotfix(Spire.PDF Pack(Hot Fix) Version:4.5.3) is available.

Sincerely,
Jane
E-iceblue support team
User avatar

Jane.Bai
 
Posts: 1156
Joined: Tue Nov 29, 2016 1:47 am

Return to Spire.PDF