Please refer to the APGetInfo User Guide for additional information.
- -d — User password to open a document. If a file contains a user and owner password, please supply the user password in order to see the correct security options set on the PDF file.
- -name — Include the PDF filename in the output document.
Note: Previous versions used the -n option to include the name in the output file. -n should now be used to suppress sending information to STDOUT, see below.
- -n — Suppress information written to STDOUT.
- -cmds <filename> — To process multiple commands quickly and efficiently, use the -cmds <filename> option. The file specified by -cmds, the commands file, should contain one or more single line commands. Each command is just like an ordinary APGetInfo command line without the executable name. The commands file does not support wildcards in filenames.
When you use the -cmds option, many of the APGetinfo options should be set in the -cmds file instead of on the command line. The following options are supported on the command line when using the -cmds option: -r, -l, -p, -n For more information on the -cmds option, see Command Collections.
New information reported with -info and -summary flags:
PageMode: Will return on the following settings:
DontCare: use default settings
UseNone: do not display pane
UseThumbs: show the pages pane
UseBookmarks: show the bookmarks pane
FullScreen: use full screen mode
ISO Extension Level: Is the document ISO 32000 or not.
AcrobatForm: Will report Yes if there are active form fields and No if there are not.
Encryption options reported:
KeyLength: 40, 128 or 256 bit
Encryption Method: RC4 or AES
For the encryption options, if an option is “allowed”, you will see “Yes”. If the option is “not allowed”, you will see “No”.
-u — This option was used in previous versions to specify a user password. This flag has been replaced by -d.
APGetInfo 3.0 combines the functionality of five utilities which were previously sold separately as APGetInfo, APGetBookmarks, APGetAnnotInfo, APGetFormFields, and APGetMetadata. With APGetInfo 3.0, you can retrieve the following information from PDF documents:
- Document description information that identifies a file, such as its title, author, creation date, and size. This is similar to the descriptive information you would find with Adobe Acrobat’s Document Properties feature.
- Font information, including font name, font type, and embed status.
- The size and rotation of each page.
- A list of bookmarks. The list can be formatted to show or hide bookmark levels using indention and numbers, or display the full document path of each bookmark. Bookmark page numbers, named destinations, and the total number of bookmarks can be added to the list.
- Information about links, annotations, and the popups associated with annotations. The color and coordinates of each annotation can be included with the output.
- Form field information, including field name, field type, field value, and alternative name (tool tip text).
- XML metadata for files created or saved in Acrobat 5.0 or above. Both PDF and XAP schemas are displayed.
- A summary that includes document description information, number and type of annotations, number of bookmarks, and font information.
High ASCII characters do not always display correctly in the output.
Special formatting characters, such as carriage returns, may not be stripped from the text of bookmarks and could be displayed as odd characters.
Unicode information (in bookmarks, form fields, etc.) is not supported and will not be reported correctly.
To Get Help
Documentation for APGetInfo can be found at /apgetinfo/.
Contact technical support by:
emailing email@example.com, or calling 610-284-4006
Please provide the following:
Product name and version number
Your name, company name, email address, and phone number
Description of your question or problem
Responses are typically emailed within one business day.