When I try to do the following:
 
writer.setViewerPreferences(PdfWriter.PrintScalingNone);
 
I get 500 error "PdfWriter.PrintScalingNone cannot be resolved". 
 
Did you get rid of this preference and forgot to update the
documentation? Is there a replacement for this? 
 
I tried to  pass in (1 << 21) into the setViewerPreferences method, I
don't get an error, but the print dialog still displays Page Scaling as
"Shrink To Printable Area" instead of "None". 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);
 
So I know I have proper imports and everything else works just fine -
it's just this one preference that I'm having trouble with.
 
Please please help!
 
Lana
 
------------------------------------------------------------------------------
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/

Reply via email to