Quoting Jim Riley <[EMAIL PROTECTED]>:

> I have an HTML Fill-In form and I use itext to display the records.
> However, I was asked if there is anyway I can use an already created PDF
> that has all the pre-printed text, lines, images, etc. 
>  
> Then, all I would have to do is define the XY coordinates just for the
> user information.. IE names, ssn, phone etc. instead of having to
> recreate the already scanned in form. Thanks in advance for any/all help
> with this issue.

Indeed, that's the way to go.

Go to http://itextpdf.sourceforge.net/
download the examples-12x.zip and look for a PdfStamper example.

There are also other solutions.
For instance, if your original PDF has an Acroform,
you could merge the parameters send by the HTML form
into this form. That way you don't need to worry about
coordinates. iText does it for you.

Search the archives of the mailinglist for PdfStamper,
FDF, AcroFields and/or merge. I'm sure you'll find some
more examples.

br,
Bruno


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to