You must have: document.setPageSize(PageSize.A4.rotate()); document.newPage();
Page sizes changes are valid for the next page. Best Regards, Paulo Soares --- [EMAIL PROTECTED] wrote: > Hi, > I am using the latest version of iText PDF Library > for generating PDF > output. > > I to print a 3 page document of which middle one's > should be printed in > LANDSCAPE mode. > > I have tryed using > document.setPageSize(PageSize.A4.rotate()) before > setting > the 2nd page. > > Is there any solution to the problem. > > Any suggestion to the said problem will be highly > appreciated. > > Thanks & Regards, > Siba > > > > _______________________________________________ > iText-questions mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/itext-questions __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions