13–20 -insertEmptyPage: Inserting Empty Pages

13–20–1 Processing

Inserts the specified number of blank pages into the input PDF.

Note:
Different insertion points cannot be specified multiple times in one command setting.

13–20–2 Example of commands

[Executing example commands]

Inserts 5 blank pages from page 3 to test.pdf and output it as out.pdf.

[Windows]

AHPDFToolCmd80.exe -insertEmptyPage -index 2 -number 5 -size 1 -d C:\test\test.pdf -o C:\sav\out.pdf

[Linux]

AHPDFToolCmd80 -insertEmptyPage -index 2 -number 5 -size 1 -d /home/antenna/test/test.pdf -o /home/antenna/sav/out.pdf

13–20–3 Folder settings: not applied

13–20–4 Parameters

Parameter
Content
-index Val
[required]
Sets the page position to insert a blank page. Page number is 0 origin. Therefore, the first page is counted from "0."
-number Val
Sets the number of pages to insert. Can be omitted.
If not specified, inserts one page.
-size Val
Sets the page size to insert. Can be specified.
0: A4 portrait 1: A4 landscape
2: A5 portrait 3: A5 landscape
4: A3 vertical 5: A3 landscape
If not specified, "0: A4 portrait" is applied.
If a value other than 0 to 5 is specified, an error will occur.