Sounds like what you REALLY WANT is JDF 
(<http://www.cip4.org/documents/jdf_specifications/index.html>), which is the 
international standard used in the printing & publishing industry for 
specifying this type of information with a print job.

Make sure your printer supports it - if not, find one that does - and then just 
generate it along with your PDF.

-----Original Message-----
From: Jason Berk [mailto:jb...@purdueefcu.com] 
Sent: Wednesday, September 29, 2010 2:13 PM
To: Post all your questions about iText here
Subject: [iText-questions] how would you do.....

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"

Any hints/tips?

Jason

***This is a transmission from Purdue Employees Federal Credit
Union (PEFCU) and is intended solely for its authorized
recipient(s), and may contain information that is confidential
and or legally privileged.  If you are not an addressee, or the
employee or agent responsible for delivering it to an addressee,
you are hereby notified that any use, dissemination,
distribution, publication or copying of the information 
contained
in this email is strictly prohibited. If you have received this
transmission in error, please notify us by telephoning (765)
497-3328 or returning the email. You are then instructed to
delete the information from your computer.  Thank you for your
cooperation.***


------------------------------------------------------------------------------
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/

------------------------------------------------------------------------------
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/

Reply via email to