Normalize PDF

This is pre-built Action located under the @Generic Element, instructs the Avo Assure to makes the PDF’s format and layout uniform by removing differences and normalize/flatten a specified special PDF (that can be opened/launched only via Acrobat Reader DC) and save the result in the given dynamic variable.

Syntax

The following are the pre-requisites for Normalize PDF action:

  • The system where the ICE is running must have the PDF Reader (Acrobat Reader DC) installed.

  • Limitation: This Action is not supported on Windows 8 systems.

Input Value: <PDF Reader FilePath>;<Source PDF FilePath>;<Destination Path>;<1 (overwrite)/0(normal)>(Optional)

Argument
Description

<PDF Reader FilePath>

(Required)

Provide the Acrobat file path using which you want to read the PDF file

<Source PDF FilePath> (Required)

Provide the file path of the original PDF that needs to be normalized.

<Destination Path> (Required)

Provide path where the normalized PDF should be saved.

<1 (overwrite)/0(normal)> (Optional)

Optional flag to decide whether to overwrite the destination file. • 1 → Overwrite the destination if it already exists • 0 → Create a new normalized version without overwriting

Output Value:

Argument
Description

<Dynamic Variable>(Optional);<Dynamic Variable>(Optional)

This variable stores the status as true or false

Example

Normalize a PDF document using a specified Acrobat reader

The Normalize PDF action takes the value from the Input Value column (e.g., C:\Reader\PDFReader.exe;C:\Files\Source.pdf;C:\Files\Normalized.pdf;1) and normalizes the source PDF using the Acrobat PDF reader. The normalized file is saved to the destination path, and the overwrite flag (1) determines whether to overwrite an existing file. The action status is saved in the {Status} variable, with the following possible values:

  • True – if the PDF is normalized successfully

  • False – if the PDF is not normalized

Last updated

Was this helpful?