Hi
I have a PDF file with forms.

Sample data in the form:

1. Last Name: ___somename___
2. First Name: __somename___
3. Date of Birth: ____01 Jan 1950___
4. Place of Birth: __someplace__


When I print the document using PDFTextStripper getText() function, it
prints:

1. Last Name: ___________
2. First Name: ___________
3. Date of Birth: ___________
4. Place of Birth: ___________


Is there a way to get the whole thing (including form fields) to get
printed?

I can read the fields using getAcroForm getFields() function. But I don't
think we can match the field value with the corresponding name (Last Name
---> ___somename___). If there is a way to print the document with form
field values, we can use some heuristics to do the same.


Thanks
Chandu

Reply via email to