Why is PDFNET pdftron.PDF.Print.StartPrintJob so slow?

We call StartPrintJob to print a small 4-page PDF file (approx 24 KB) we have generated from PDFTRON. This is initiated on Computer A, which reads the PDF from computer B, and prints to a printer on computer C. Printer is PCL. At some point along the way users began complaining this was slow. That is, it seems to take at least 5 seconds to begin printing, and 15-20 second delay between each page. We can not attribute the slowdown to system changes or software upgrades because we did not notice when this problem first began.

Also, how does PDFViewCtrl.Print() differ from pdftron.PDF.Print.StartPrintJob ? The reason for asking is in the same environment, run from the same computer, under the same user logon, using the same PDF file, StartPrintJob works at a snail’s pace for us, including job startup, and also delays between each of the 4 pages, but the PDFViewCtrl.Print() function works immediately with no delay between pages. It may be key to understanding how PDFViewCtrl works to understanding why it is so much faster for us.

MORE INFORMATION

An OLD version of our software calling StartPrintJob was installed at the same computer, running under the same username, and it prints immediately. This was linked to PDFNET version 6.3.2.27751. The one running slow is linked to 6.6.0.38991. (FWIW Our PDFViewCtrl.Print test was linked to 6.6 as well).

PDFViewCtrl.Print() ends up calling PDF.Print.StartPrintJob, so that is strange that there appears to be a difference.

Can you try our latest developer build. There was a fix for printing that I think might help with your case.

Developer: http://www.pdftron.com/nightly/?p=experimental/

Latest official builds, and Release channel, are ready for production usage, however the developer channel builds do not get the same amount of testing and can be in a state of change.

Thank you Ryan, the developer build from 11/10/2016 (6.7.1.51950) is again FAST for us !

Can you please let us know when we can expect to see those changes in main stream release?

Best regards - Lee Gillie

EMailSig.png

Can you please let us know when we can expect to see those changes in main stream release?

It is available now from our main download page, an announcement will me made shortly for this.https://www.pdftron.com/pdfnet/downloads.html