logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

New Topic Post Reply
Options
Go to last post Go to first unread
Frank  
#1 Posted : Friday, July 1, 2016 6:40:22 PM(UTC)
Quote
Frank

Rank: Newbie

Groups: Registered
Joined: 7/1/2016(UTC)
Posts: 4
United States

Thanks: 1 times
We just recently purchased Pdfium.Net SDK and have an issue to print any PDF doc, rendering is coming fast in PDF viewer, after click on print icon and selecting a printer, there is a large delay to print up to several min even printing 1 page only. We tested on different local networks and locations, the same result.

Does any one have the same issue and is it possible to accelerate the printing programmatically?
Paul Rayman  
#2 Posted : Sunday, July 3, 2016 8:12:44 PM(UTC)
Quote
Paul Rayman

Rank: Administration

Groups: Administrators
Joined: 1/5/2016(UTC)
Posts: 1,103

Thanks: 7 times
Was thanked: 128 time(s) in 125 post(s)
Hi,

The Pdfium prints PDF as an images. Because the printer has a high DPI, usually 600, the final image is very large, which is why printing is slow.
Unfortunately in the .Net the printing is performed using the GDI+ and graphics surfaces and this is a native way for Framework.
At the moment, we are considering the possibility of PDF printing directly to a printer, bypassing .net print subsystem. I think this solution will be available in one of the following releases.

Edited by user Monday, July 4, 2016 4:35:08 AM(UTC)  | Reason: Not specified

thanks 1 user thanked Paul Rayman for this useful post.
Frank on 7/3/2016(UTC)
Frank  
#3 Posted : Sunday, July 3, 2016 8:45:48 PM(UTC)
Quote
Frank

Rank: Newbie

Groups: Registered
Joined: 7/1/2016(UTC)
Posts: 4
United States

Thanks: 1 times
Thank you,

We came to the same conclusion and as temporary workaround using GhostScript API which is way faster printing directly to the printer:

https://rajupadhara.com/2015/02/12/pdf-direct-printing-with-net-using-ghostscript/
Paul Rayman  
#4 Posted : Wednesday, September 7, 2016 4:31:50 AM(UTC)
Quote
Paul Rayman

Rank: Administration

Groups: Administrators
Joined: 1/5/2016(UTC)
Posts: 1,103

Thanks: 7 times
Was thanked: 128 time(s) in 125 post(s)
The printing subsystem in WPF PdfViewer has been replaced. This fix improves the performance of printing speed and reduces the memory consumption;
http://forum.patagames.c...released-on-Aug-10--2016
Joya22DC  
#5 Posted : Friday, June 16, 2023 2:51:33 AM(UTC)
Quote
Joya22DC

Rank: Newbie

Groups: Registered
Joined: 6/16/2023(UTC)
Posts: 1
Thailand
Location: Bangkok

I was facing this issue untill i fixed it by printing your file as an image. https://thegeekpage.com/...is-printing-very-slowly/
Quick Reply Show Quick Reply
Users browsing this topic
New Topic Post Reply
Forum Jump  
You can post new topics in this forum.
You can reply to topics in this forum.
You can delete your posts in this forum.
You can edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.