Insert Pages
This command inserts empty pages before selected pages or before every page if no page is selected.Have a look at some examples.
Usage
pdfcpu pages insert [-v(erbose)|vv] [-pages pageSelection] [-upw userpw] [-opw ownerpw] inFile [outFile]
Flags
name | description | required |
---|---|---|
verbose | turn on logging | no |
vv | verbose logging | no |
pages | page selection | no |
upw | user password | no |
opw | owner password | no |
Arguments
name | description | required |
---|---|---|
inFile | PDF input file | yes |
outFile… | PDF output file | no |
Examples
Insert an empty page before every page of notes.pdf
. This way you get a PDF that gives you space for adding annotations for pages:
pdfcpu page insert notes.pdf
inserting pages into notes.pdf ...
writing notes_new.pdf ...
Insert an empty page before pages 1 to 5:
pdfcpu page insert -pages 1-5 notes1.pdf notes2.pdf
inserting pages into notes1.pdf ...
writing notes2.pdf ...