Normalize PDF
Last updated
Was this helpful?
Last updated
Was this helpful?
This is pre-built Action located under the @Generic Element, instructs the Avo Assure to 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.
Input Value: <PDF Reader FilePath>;<Source PDF FilePath>;<Destination Path>;<1 (overwrite)/0(normal)>(Optional)
<PDF Reader FilePath>
(Required)
Provide the file path which you want to read
<Source PDF FilePath> (Required)
Provide full path of the original PDF file 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
Note: In above syntax if user gives input as 1 then Normalized PDF will be overwritten on old PDF path else if user gives input as 0 then normalized PDF will be saved as a different file in given destination path.
Output Value:
<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