Solved

Is it possible to programatically fill out a fillable ADOBE PDF form?

Posted on 2016-11-18
9
78 Views
Last Modified: 2016-11-21
If so then is it with an application or programming of some sort.    I have PDF forms that users are currently using by just opening them Adobe Reader and filling in the fillable fields.      I would like to have a Web App or program, or something similar, for them to enter the data in and then to post it to the pdf form fields.     Is there a way to do it?
0
Comment
Question by:patrickmiller
  • 5
  • 3
9 Comments
 
LVL 52

Accepted Solution

by:
Joe Winograd, EE MVE earned 500 total points
ID: 41893220
Hi Patrick,
I'm a big fan of the PDF Toolkit (PDFtk) from PDF Labs. PDFtk comes in both command line and GUI versions. The command line version is called PDFtk Server and may be downloaded here:
http://www.pdflabs.com/tools/pdftk-server/

Don't be misled by "Server" in the name. I don't know why they called it that, but it's just an executable (pdftk.exe, with a supporting DLL, libiconv2.dll) that runs on "standard" Windows — it does not have to run on a "server" Windows.

As you can see at its documentation, one of its operations is fill_form. I have written many programs that modify an FDF file with values, thereby creating a new PDF file with those values. Here's a sample call:

pdftk.exe InputFile.pdf fill_form InputValues.fdf output OutputFile.pdf

Open in new window

You can use it with any programming/scripting language that is able to call a command line executable. This seems to be exactly what you want to do. Regards, Joe
0
 
LVL 14

Expert Comment

by:Edwin Hoffer
ID: 41893927
Dear patrick,

Hello. My friend working in accounts department always prefer to use SysTools PDF Form Filler. He has to deal with thousands of forms daily. So to save time he simply load the PDF in the tools and fill PDF form easily.  The provided is the procedures to fill the form. Hope this can be helpful.

Thanks & Regards
Edwin Hoffer
0
 
LVL 52

Expert Comment

by:Joe Winograd, EE MVE
ID: 41894232
Hi Edwin,
Your comment says that PDF Form Filler can fill PDF forms "easily", but Patrick said that he wants to fill them "programmatically", not merely "easily". I checked the link you posted and, as far as I can tell, PDF Form Filler has an easy-to-use GUI, but no way to call it programmatically, i.e., no command line interface, application programming interface, software development kit, etc. If I missed it, please provide a link to its CLI, API, SDK, etc. Thanks, Joe
0
 

Author Comment

by:patrickmiller
ID: 41896557
Will it allow for any type of fields, for example, Signatures, Check boxes, text fields and numeric fields?
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 52

Expert Comment

by:Joe Winograd, EE MVE
ID: 41896622
Will it allow for any type of fields, for example, Signatures, Check boxes, text fields and numeric fields?
What is "it" in that question?
0
 

Author Comment

by:patrickmiller
ID: 41896632
Sorry, I was speaking about the FDF file that would be used to populate the form.
0
 
LVL 52

Expert Comment

by:Joe Winograd, EE MVE
ID: 41896651
A field's Value (the V param in an FDF file) may be the following Field Types (copied here from the PDF specification under "Fair Use"):
Button fields represent interactive controls on the screen that the user can manipulate with the mouse. They include pushbuttons, check boxes, and radio buttons.

Text fields are boxes or spaces in which the user can enter text from the keyboard.

Choice fields contain several text items, at most one of which may be selected as the field value. They include scrollable list boxes and combo boxes.

Signature fields represent digital signatures and optional data for authenticating the name of the signer and the document’s contents.
Regards, Joe
0
 

Author Closing Comment

by:patrickmiller
ID: 41896670
Thanks Joe.    This should work for us.
0
 
LVL 52

Expert Comment

by:Joe Winograd, EE MVE
ID: 41896689
You're welcome, Patrick. Good luck with the project! Regards, Joe
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
word0 challenge 3 79
Editing PDF using MAC OS X 3 76
advertisement module in core php 4 148
Q2. How to run DAX query from SSMS. I don’t see any DAX query type. 1 49
Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
In this video, we show how to convert an image-only PDF file into a PDF Searchable Image file, that is, a file with both the image (typically from scanning) and text, which is created in an automated fashion with Optical Character Recognition (OCR) …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now