Am 28.06.2015 um 16:43 schrieb Александр Свиридов:
When I print pdf document it doesn't stretch to take normal A4 page area. I mean that margins are too big and document is smaller then it could be and is located in center of the page.
Yes it is centered. What else would you expect? Adjusted to the bottom right?
We'd need the PDF to find out what (if anything) is wrong. Please try also printing it with Adobe Reader in 100% mode. Tilman PS: don't CC user postings to me. I get then anyway.
My code: PrinterJob job = PrinterJob.getPrinterJob(); Paper paper=new Paper(); paper.setSize(72d*8.267d, 72d*11.692); PDFPrinter pDFPrinter=new PDFPrinter(document,Scaling.SCALE_TO_FIT, Orientation.PORTRAIT,paper); pDFPrinter.silentPrint(job); Please help me to solve this problem.
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]

