Am 15.11.2015 um 18:16 schrieb Sridhar So:
Test 2:  results
-----------------
With 300 dpi :  pjob.setPageable( new PDFPageable(pdDocument, Orientation.AUTO, 
true,  0) );

                                                                                
       ^^^^^
That isn't 300dpi.

  time for PDDocument.load(is) = 71ms
  time for PrinterJob job = PrinterJob.getPrinterJob();  = 20ms
  time for job.setPageable(new PDFPageable(pdDocument), null, true, 0)  = 50ms
  time for job.print()= 64449ms
  Total time = 64.59 seconds

Assuming you really had 300dpi in another one of the tests (the one with 20secs), this is still too long.

We really the PDF file to do our own tests and maybe get new ideas.

Tilman

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to