mike smith wrote: > If I try to print through Adobe, in the print dialog window, you can use > some useful properties (in the Page Handling section, like "Shrink large > pages" and "Fit to Printer Margins" and "Auto Rotate and Center"). This > seems to do what I am looking for.
Check the PDF Reference page 580. The only options available using PDF syntax are PrintScaling AppDefault (the one last selected in Adobe Reader) and PrintScaling None (no scaling). This viewer preference is implemented in the current iText version but won't help you. New printer settings were introduced in PDF1.7, and I implemented them all. They will be available in the next release. I also implemented the PrintArea and PrintClip preferences; these will also be available in the next release. However, these still won't solve your problem. The reality is that you can't define all the printer settings in the PDF file. Instead you may want to use iText to create a new document (with PdfWriter) and add all the pages of the original document (read with PdfReader) as an imported page (PdfImportedPage) that is scaled to the desired size. br, Bruno ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://itext.ugent.be/itext-in-action/
