Skip to main content

Task PDF - Get Information​

The PDF - Get information Task writes the document properties of PDF files, such as the author, the page count and the signatures, to the Task output.

The Main settings, Flow, On error, Conditions and TimeOut tabs are the same for every Task; see Job - Tasks.

Get information: Main settings tab​

Main settings tab of the Get information Task, with the Password for file(s) box

  • Password for file(s): the password that opens the source PDF files, if they are protected

File filter tab​

The File filter tab selects the PDF files to read; see File Filter. If the filter has a Credential, the Task uses it while it reads and writes the files. When the logon with the Credential fails, the Task continues as the account that runs the Server and writes the error to the Server log.

Get information: Output tab​

The Output tab of the Task window sets the format of the output.

Output tab of the Get information Task, with the Include field names check box, the Field separator, Text qualifier and Line break lists and the Show information list

  • Include field names (Output settings group): starts each line with the name of the property and Field separator; unchecked by default

  • Field separator: the separator; the default is "Tab"

  • Text qualifier: the character around each value; none by default

  • Line break: the line break; the default is "CrLf"

  • Show information: the properties to return: "CreationDate", "ModificationDate", "Producer", "Keywords", "Subject", "Author", "Creator", "Title", "Trapped", "PagesCount", "IsEncrypted", "Version" and "Signatures"

    All except "Trapped" and "IsEncrypted" are selected by default.

Output and errors​

The Task output has one line for each selected property. A property that has no value in the document is left out. "IsEncrypted" gives "Encrypted" with details of the encryption, or "Decrypted". "Signatures" gives "Signed" with the details of each signature, or "Not signed".

When the Task cannot read the document properties, for example because the password is wrong, it writes the error to standard error and goes on to the encryption and signature information. Unless that second read also fails, the Task reports success.