Get Copy of PDF Toolbox
- Here I will take the Window version for example. Please download PDF Toolbox Window free. If you need to download Linux or Mac version, please go to corresponding version tab.
- Once downloading finishes, there will be zip file. Please extract it to some folder then you can check the elements in it. And please find executable file in subfolder bin.
Fill PDF Form by FDF
Usage: pdftoolbox <input files> [options] <-outfile output >
- When you use this software to
pdftoolbox sample_fillform.pdf -fillform sample_fillform.fdf -outfile _fillform_withnewdata_out.pdf
Here sample_fillform.pdf is an example PDF form, parameter –fillform is an order to fill PDF form. sample_fillform.fdf is the FDF file used to fill PDF form. And when you specify the output folder, please input parameter -outfile first.
-outfile : specify an output file name
by FDF, please refer to the following command line template.
-fillform : fill form fields of a single input PDF file with the data from an FDF/XFDF file. The form fields remain interactive in the result PDF.
Now let us check the filling form effect from the following snapshot. In the output PDF form, there are some fields have been filled by blue fonts.
By this function, you can fill PDF from in batch with Adobe software installed, Meanwhile, you can change data easily in FDF file and then fill PDF form by different date. As by this software, you can run the conversion together with other applications like C#， VB, VC and others. And you can also run the conversion from remote procession.
- After filling PDF from, you can change PDF form to flatten PDF by the following command line.
pdftoolbox "sample_fillform.pdf" -outfile "_flattenform_out.pdf" –flattenform
Here the flatten PDF file refers to normal PDF file which can not be filled again. In the next article, I will show details about this function.
During the using, if you have any question, please contact us as soon as possible.