I'm not sure that I understand your problem. You have the individual PDFs. I assume that you know where to place the disclaimer page when you concatenate the pages. You are using iText to perform the concatenation? Then it should be a breeze to insert extra pages with the disclaimer at the appropriate places.
// Pseudo-code for (pdf in pdfs) { for (page in pdf) { if (time to add disclaimer) { add disclaimer page } add page } } /Klas Jason Berk skrev 20:59: > I'm producing statements with iText (and it rocks BTW). I produce a > single PDF for each account and load the PDF into a DB. Then I > concatenate all the statements that need printed into one big PDF file > and give them to a print house, that prints and mails the statement. > Currently, each page in the pdf has some index data used by the print > house to know how to separate the statements into individual envelopes > and to know what stock to print the page on, as certain pages have > disclaimer content on the back side. > > I'm wondering if I could add the disclaimer page on the fly when I join > up the PDFs. Then they could print all pages on white stock and in > duplex. > > The trick is when the individual pdfs are created I would need to > somehow "mark" the appropriate pages, so that when I join them I can add > the appropriate backer page. > > For example, assume I have the following: > Account A with 3 pages that needs a backer page inserted after page 2 > Account B with 4 pages that needs a backer page inserted after page 2 > Account C with 5 pages that needs a backer page inserted after page 4 > > Currently when I cat the statements, I get this: > a1 a2 a3 b1 b2 b3 b4 c1 c2 c3 c4 c5 > > but I'm evaluating if I can do this: > a1 a2* backer a3 b1 b2* backer b3 b4 c1 c2 c3 c4* backer c5 > * denotes my "marker" ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net 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/