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.

Wed Jul 01, 2020 12:23 pm

Hello Team,

Previously we were using Spire.PDF 5.6.2 version and all prints were working correctly.
Now with latest version 6.5.15, we are facing issue with Barcode position on A5 landscape gets changed.

Please find herewith attached sample code, PDF and printed examples.

Please look into it urgently.

Thanks and Regards,
Bharat Bodage

bharatbodage
 
Posts: 21
Joined: Thu Feb 07, 2019 7:25 am

Thu Jul 02, 2020 7:31 am

Hello,

Thanks for your post.
I did reproduce the behavior you mentioned and have logged the issue into our bug tracking system with the ticket SPIREPDF-3381. We have already given the highest priority to this case. Our Dev team will do more investigations and fixing. Once there is any update, I will let you know at the first time. Sorry for the inconvenience caused.

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1536
Joined: Wed Apr 25, 2018 3:20 am

Wed Jul 08, 2020 3:30 am

Hello,

Thanks for your patience.
Since we had improved our previous internal code in later versions. As for your document, Please use the following code snippet to draw the barcode image. If there is any other question, just feel free to contact us.
Code: Select all
……
barcodeControl.Page.Canvas.DrawImage(PdfImage.FromImage(barcodeField.BarcodeImage), barcodeControl.Location.X, barcodeControl.Location.Y - (doc.Pages[0].Size.Height - doc.Pages[0].Size.Width), width, height);

Sincerely,
Lisa
E-iceblue support team
User avatar

Lisa.Li
 
Posts: 1536
Joined: Wed Apr 25, 2018 3:20 am

Return to Spire.PDF

cron