Pannerselvan, Soundrapandian wrote: > Hi, > > > > Please let me know whether we can able to change the printer > preference during the PDF document creation. If so, please let me know > how to do that. > PDF isn't able to change printer preferences. The only preference that can be set involves the scaling of the page.
> <>The document which I create is in the landscape form and I want to > change the printer preference to landscape. That's not a printer preference. That's an attribute of the page. If you create a page with page size PageSize.A4, a page will be printed using the orientation 'portrait'. If you use the page size PageSize.A4.rotate() the page orientation will be 'landscape'. I could explain the concept of page rotation, but this would lead us too far. best regards, Bruno Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions
