Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

[iText-questions] Using AcroForm for form letter generation

Nick V

2006-07-06

Replies:

I am working on a web application that needs to create
form letters with data pulled from a database merged
into those letters. The form letters are to appear as
one long “page” in the user’s browser window. Then
when he/she goes to print from the browser, the
letters print out one after the other, one page per
letter.

I want to create the PDF output in memory by sending
the output directly to the client via the servlet’s
output stream. I would rather not write files on the
server.

One way I am considering doing this is by using an
Acrobat form (AcroForm), filling it in once for each
record pulled from the database. However, I can only
generate one letter at a time when writing directly to
the servlet’s output stream. I want to fill in the
form multiple times, sending the output as one
continuous stream.

I CAN open the Acrobat form, fill it in and save it to
a file for each letter and then copy all the files
into one file and send it to the user but that is not
what I WANT to do.

Does anybody know of a way to do what I have described
using Acrobat forms?

Thanks!

Nick


__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
©2008 junlu.com - Jax Systems, LLC, U.S.A.