Were you able to resolve this issue? When I try to do the following: writer.setViewerPreferences(PdfWriter.PrintScalingNone);
I get 500 error "PdfWriter.PrintScalingNone cannot be resolved". Did they get rid of this preference and forgot to update the documentation? Is there a replacement for this? I tried to do exactly what you did by passing in (1 << 21), I don't get an error, but the print dialog still displays Page Scaling as "Shrink To Printable Area". I've also found a post somewhere saying that it should be (1 << 24) - I've tried that too - no luck. Note if I try any other preferences, they work (example): writer.setViewerPreferences(PdfWriter.HideToolbar); Please please help, or point me in the right direction/forum. -- View this message in context: http://itext-general.2136553.n4.nabble.com/PDF-Page-Scaling-tp2137333p2330494.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.itextpdf.com/book/ Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/
