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 Sep 03, 2014 2:27 pm

Hi,

I'm trying to print a pdf, and get very different results when printing via a browser (chrome) using the default settings and using the pdf component.

Code: Select all
PdfDocument doc = new PdfDocument();
doc.LoadFromFile("C:\\test.pdf");
var printers = PrinterSettings.InstalledPrinters;
doc.PrinterName = printers[5];
doc.PrintDocument.DefaultPageSettings.Landscape = true;
doc.PrintDocument.Print();


The first page is all stretched while the second page looks ok.

Any ideas what I'm doing wrong?

chrissbarnard@mac.com
 
Posts: 4
Joined: Fri Aug 22, 2014 12:48 pm

Thu Sep 04, 2014 7:10 am

Dear chrissbarnard,

Thanks for your inquiry.

I'm sorry that I have not reproduced your problem using Spire.PDF 3.1.24.
The difference between two printed documents is the page orientation: one is portrait(by Chrome); the other is landscape(by Spire.PDF). There is no stretched page in both documents.

Best regards,
Burning
E-iceblue Support Team
Best Regards,
Burning
E-iceblue Support Team
User avatar

burning.liu
 
Posts: 406
Joined: Mon Aug 04, 2014 6:47 am

Thu Sep 04, 2014 7:30 am

Hi,

See the two attached pictures, you should be able to see the differences.
I'm using Spire.Pdf free from the nuget feed, I've checked for latest version and it's currently (3.0.26.56040).

Should I upgrade to this new version as I noticed it's labelled hotfix.

Thanks

chrissbarnard@mac.com
 
Posts: 4
Joined: Fri Aug 22, 2014 12:48 pm

Thu Sep 04, 2014 7:42 am

Dear chrissbarnard,

Thanks for your inquiry.

Yes.Please try Spire.PDF 3.1.24 to solve your problem.

Best regards,
Burning
E-iceblue Support Team
Best Regards,
Burning
E-iceblue Support Team
User avatar

burning.liu
 
Posts: 406
Joined: Mon Aug 04, 2014 6:47 am

Thu Sep 04, 2014 8:10 am

Hi,

Well updating to the hotfix version has got me pretty much where I need to be, I noticed that the component is clipping the document, is there a suggested way to deal with this?

Thanks

chrissbarnard@mac.com
 
Posts: 4
Joined: Fri Aug 22, 2014 12:48 pm

Thu Sep 04, 2014 8:44 am

Dear chrissbarnard,

Thanks for your reply.

I have posted this issue to our dev team. We will inform you as soon as it is resolved.

Best regards,
Burning
E-iceblue Support Team
Best Regards,
Burning
E-iceblue Support Team
User avatar

burning.liu
 
Posts: 406
Joined: Mon Aug 04, 2014 6:47 am

Mon Sep 08, 2014 2:43 pm

Hi,

When do you think it's feasible to have some feedback on the issue? It's currently holding up one of our projects, we'd like to purchase the product but I'm currently holding off.

Thanks

chrissbarnard@mac.com
 
Posts: 4
Joined: Fri Aug 22, 2014 12:48 pm

Tue Sep 09, 2014 3:13 am

Dear chrissbarnard,

Thanks for your reply.
Our dev team have got it done. We will build a new version and then test it. Once it is ok, we will release it and inform you.

Best regards,
Burning
E-iceblue Support Team
Best Regards,
Burning
E-iceblue Support Team
User avatar

burning.liu
 
Posts: 406
Joined: Mon Aug 04, 2014 6:47 am

Tue Sep 16, 2014 6:47 am

Dear chrissbarnard,

We have released a new version of Spire.PDF to resolve your problem.
You can download it via link below:
http://www.e-iceblue.com/downloads/hot_ ... 3.1.31.zip

Best regards,
Burning
E-iceblue Support Team
Best Regards,
Burning
E-iceblue Support Team
User avatar

burning.liu
 
Posts: 406
Joined: Mon Aug 04, 2014 6:47 am

Thu Sep 18, 2014 9:42 am

Dear chrissbarnard,

Has your problem been resolved?
If not, please send more information to help us resolve your problem.

Best regards,
Burning
E-iceblue Support Team
Best Regards,
Burning
E-iceblue Support Team
User avatar

burning.liu
 
Posts: 406
Joined: Mon Aug 04, 2014 6:47 am

Return to Spire.PDF