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.

Thu May 24, 2018 8:06 am

pdfDocumentFepaDatei.PageScaling = PdfPrintPageScaling.FitSize;
pdfDocumentFepaDatei.PrinterName = @"PDF24 PDF";
PrintDocument printDocument = pdfDocumentFepaDatei.PrintDocument;
printDocument.Print();

Takes about 2 secs, but I can't print black&white.


pdfDocumentFepaDatei.PrintSettings.PrintController = new StandardPrintController();
pdfDocumentFepaDatei.PrintSettings.PrinterName = @"PDF24 PDF";
pdfDocumentFepaDatei.Print();

Takes 7 secs without any configuration of the PrintSettings.

pdfDocumentFepaDatei.PrintSettings.PrinterName = @"PDF24 PDF";
pdfDocumentFepaDatei.PrintSettings.SelectSinglePageLayout(Spire.Pdf.Print.PdfSinglePageScalingMode.FitSize, true, 100f);
pdfDocumentFepaDatei.PrintSettings.Color = false;
pdfDocumentFepaDatei.Print();

With all settings I need (black&white and to fit the Page to the printable area) it takes 1:30 mins.
Also the Fitting is really bad, unlike the old way, it always cuts something on the right side.
Only the color has taken 3 mins.
My pdf is not really that big it should take that long...

KEMMLIT
 
Posts: 6
Joined: Tue Apr 26, 2016 2:26 pm

Thu May 24, 2018 9:54 am

Hello,

Thanks for your post.
I have reproduced the scenario that the black and white print setting would indeed slow the process. I have logged the case in our bug tracking system. Once there's any update, I will let you know.
What's more, I didn't encounter the bad fitting issue. Attached is the result which I generated using the latest version(Spire.PDF Pack(Hot Fix) Version:4.5.3).

Sincerely,
Jane
E-iceblue support team
User avatar

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

Thu Jun 07, 2018 3:47 am

Hello,

We have made some optimizations to the black and white printing. Glad to inform the newest hotfix(Spire.PDF Pack(Hot Fix) Version:4.6.1 ) is available, and the process only cost around 30 seconds now.

Sincerely,
Jane
E-iceblue support team
User avatar

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

Tue Jun 12, 2018 6:02 am

Hello,

sorry for the long time to respond.
In the new version the black and white works great. Thanks for the efforts.

Greetings
Benedikt

KEMMLIT
 
Posts: 6
Joined: Tue Apr 26, 2016 2:26 pm

Tue Jun 12, 2018 6:30 am

Hello Benedikt,

Thank you for your valuable feedback.
Just feel free to contact us if you encounter any problem while using our product.

Sincerely,
Jane
E-iceblue support team
User avatar

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

Return to Spire.PDF