Im currently attempting to take a template file (a single page PDF file
residing on the filesystem) and creating a multiple page output file, based
on a certain number of invoices that need to be printed at once.  The
template file contains form fields (address info, item info, etc) that will
be populated for each single invoice, which should then be saved as part of
a larger document.  If the customer has 23 invoices, I need to create 23
copies of the template, filling in the appropriate information for each
copy.

The issue Im running into is that I cant seem to get PdfStamper to work
correctly in this fashion.  I can get it to work for one single page of
output, but when trying to loop it doesnt seem to fill in any of the
fields.  The form fill function is called and does not error out, but the
finished file has no data in it.

I havent seen an example quite like what I need to accomplish....most of
what Ive found seems to be creating SEPARATE files from copies of a
template.  I know this is a possible solution (i.e. create 23 separate files
and then PDFCopy or SmartCopy them together), but was wondering if there is
a more elegant way to do what I need.

Thanks in advance.

-Chris
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
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

Reply via email to