12-20 -insertEmptyPage: Inserting Empty Pages

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.

Example of commands

[Executing example commands]

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

Specifies the A4 landscape size for the blank page to be inserted.

[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

Folder settings: not applied

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 {0 | 1 | 2 | 3 | 4 | 5}

Sets the page size to insert. Can be omitted.

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.

Please enter alt text.