Hello pdfbox team,

First of all, thank you for all the amazing work that you are doing
everyday for this great tool.

I'm contacting you because I need your advice in using pdfbox to the
fullest. I'm trying to print a scanned pdf document and it's very slow.
After a lot of debugging and searching, I came cross this link
https://issues.apache.org/jira/browse/PDFBOX-3046 which describes almost
what I'm experiencing. Specially the comment by Mr Petr Slaby.

My code is simple as

Doc doc = new SimpleDoc(new PDFPageable(PDDocument.load(document),
Orientation.AUTO,false,300), DocFlavor.SERVICE_FORMATTED.PAGEABLE, null);


job.print(doc, proprietes);

I'm not sure, but I believe there is some issuing when ttf is in play.

Thank you in advance for your help,

Mehdi KHALFAOUI

Reply via email to