On 4/11/2010 9:50, cosette wrote: > > Hi > > I've merged couple of pdf's into one pdf but the issue is that when I want > to print so i want each pdf file that i merge start en new page. For example > : I have Pdf a , Pdf b, and Pdf c all are in one pdf called PdfAbc. > In the file of PdfAbc I want to add a blank page if the number of pages is > odd so that each file starts on even side when im printing as a > duplex.(dubbelside) > > Does anyone has a suggestion how to do that.
Read p187 of the documentation: "There are two different versions of the addPage() method. You can add blank pages if you use a Rectangle and a rotation value as parameters, or you can add a PdfImportedPage obtained from the same PdfCopy instance using getImportedPage()." I hope this answers your question. ------------------------------------------------------------------------------ The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php