Solved

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

Posted on 2016-11-18
9
35 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 51

Accepted Solution

by:
Joe Winograd, EE MVE earned 500 total points
Comment Utility
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 12

Expert Comment

by:Edwin Hoffer
Comment Utility
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 51

Expert Comment

by:Joe Winograd, EE MVE
Comment Utility
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
Comment Utility
Will it allow for any type of fields, for example, Signatures, Check boxes, text fields and numeric fields?
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 
LVL 51

Expert Comment

by:Joe Winograd, EE MVE
Comment Utility
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
Comment Utility
Sorry, I was speaking about the FDF file that would be used to populate the form.
0
 
LVL 51

Expert Comment

by:Joe Winograd, EE MVE
Comment Utility
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
Comment Utility
Thanks Joe.    This should work for us.
0
 
LVL 51

Expert Comment

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

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

A short article about problems I had with the new location API and permissions in Marshmallow
This is about my first experience with programming Arduino.
In this third video of the Xpdf series, we discuss and demonstrate the PDFtoText utility, which converts PDF files into plain text files. Download and install the software.: You may have already downloaded and installed the Xpdf tools while watching…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

772 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

11 Experts available now in Live!

Get 1:1 Help Now