PDFtk | View PDF field information from command line

Author - Kiran Preet
20.02.2017
|
0 Comments
|

Solution: If you have a pdf and you do not know the names of the fields used in the pdf just follow these steps:

1.   Install pdftk (search online).
2.   Open the command prompt, run the command:

pdftk YourPdf.pdf dump_data_fields

Using Above command you will get information like:

Field type
Field name
Field flag
Field Justification
Field State Option

You will get output like this:
1
Also if you want to save this output in txt file then use following command:

pdftk YourPdf.pdf dump_data_fields output newFile.txt

Webner Solutions is a Software Development company focused on developing Insurance Agency Management Systems, Learning Management Systems and Salesforce apps. Contact us at dev@webners.com for your Insurance, eLearning and Salesforce applications.

Leave a Reply

Your email address will not be published. Required fields are marked *