Task PDF - Insert Pages
The PDF - Insert page(s) Task inserts a blank page, or pages taken from another PDF file, into PDF files.
The Main settings, Flow, On error, Conditions and TimeOut tabs are the same for every Task; see Job - Tasks.
Insert page(s): Main settings tab

-
Password for file(s): the password that opens the source PDF files, if they are protected
-
Page range: All pages, or Pages with the pages of the extract file to insert, separated by commas, for example
2-4or1,3,5-6. Used only with Extract page(s) from fileAn entry that is not a page number or a valid range is ignored.
-
Extract page(s) from file: the full path of the PDF file to take pages from; click the folder button to browse
Leave it empty to insert one blank page instead.
-
Password for extract file: the password that opens the extract file, if it is protected
With an extract file, the Task always takes the page numbers from the Pages box, even when All pages is selected. With the box empty, no page is inserted, and the Task reports success. Select Pages and enter the pages to insert, for example 1-5.
File filter tab
The File filter tab selects the PDF files to insert pages into; 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.
Destination tab

-
Insert at ...: the page number at which to insert
The first inserted page gets this number, and the existing pages from this position on follow the inserted ones. A number larger than the page count is treated as the page count. With an extract file, the pages are inserted before the last existing page at the most; they cannot be added after it. Without an extract file, one blank page is inserted, and a number equal to or larger than the page count adds it at the end. When the box is empty, "0" or not a number, the Task inserts one blank page at the start, even when an extract file is set.
-
Same file (Save to.. group): saves the changed file over the source file
-
Same folder but use file mask: saves the changed file in the folder set on the File filter tab, named by File mask
-
Different folder and use file mask: saves the changed file in Folder, named by File mask
-
Folder: the destination folder for Different folder and use file mask; click the folder button to browse
-
File mask: builds the new file name from the source file name, by the renaming standard set in Main - Settings
The default
*keeps the source file name.
Same file replaces the source file. With the default File mask *, Same folder but use file mask also replaces a source file that is in the File filter folder. A file that already has the new name is replaced without a prompt.
When Include sub folders is checked on the File filter, Same folder but use file mask saves every result in the File filter folder, not in the subfolder the source file came from.
Output and errors
The Task output contains "Success" for each file it saves.