I have a fillable pdf document that I did not create.
I been asked if I can place data into it from my database.
Looks as if it should be simple. However I do need to know or be able to name the fields (cells) that will contain the data.
Does anyone know how I can find out the fields names? Or at least give them names?
Once I have these I would need to open the pdf - any advice here would be welcome as to which application and then assign values to the named fields.
Pointers in the direction of how to do this would be welcomed.
Jim
I have just discovered this approach which I believe would work well.
It does depend on knowing the field names.
The sample file it includes has a routine that will get those field name - IF you have the full version of ACROBAT installed.
While I found a few postings about getting those names with READER DC - none of them worked for me.
Perhaps dig up an older version of the free Reader software - which would apparently let you export the form data and take a look. (untested)
Anyway....this page: http://www.excelhero.com/blog/2010/04/excel-acrobat-pdf-form-filler.html
Shows how to use create an "fdf" file (Form data only).
It's just a specially formatted text file.
Once created, you just open it....it grabs the default program (Acrobat or Reader DC) and drops the data into the fields.
I've done some basic testing with my situation and it's all working well with hard coded field names and data. Now on to use it in a looping function.
Good luck!
Mal.
On Friday, July 24, 2020 at 2:17:25 AM UTC+10, internet...@foobox.com wrote:
I have a fillable pdf document that I did not create.
I been asked if I can place data into it from my database.
Looks as if it should be simple. However I do need to know or be able to name the fields (cells) that will contain the data.
Does anyone know how I can find out the fields names? Or at least give them names?
Once I have these I would need to open the pdf - any advice here would be welcome as to which application and then assign values to the named fields.
--- Synchronet 3.21b-Linux NewsLink 1.2Pointers in the direction of how to do this would be welcomed.
Jim
| Sysop: | Amessyroom |
|---|---|
| Location: | Fayetteville, NC |
| Users: | 65 |
| Nodes: | 6 (0 / 6) |
| Uptime: | 11:02:57 |
| Calls: | 862 |
| Files: | 1,311 |
| D/L today: |
3 files (7,546K bytes) |
| Messages: | 265,264 |