burst : burst PDF file to PDF files, one page per PDF file
split <int> : split PDF file by every n pages
bookmark : split PDF file by bookmarks, append page number to filenames
bookmark2 : split PDF file by bookmarks, without page number in filenames
mergeform : merge two fillable PDF files together
crossmerge : cross merge two PDF files together with compression
crossmerge2 : cross merge two PDF files together without compression
getpagecount : retrieve page count from PDF file
addbookmark <int> : create bookmark to PDF file
set RetainBookmarks on/off: enable or disable bookmarks
set RetainAcroForms on/off: enable or disable AcroForms
Examples:
pdfpg.exe C:\A.pdf,1,3 C:\merged.pdf
pdfpg.exe C:\A.pdf,-20,50 C:\merged.pdf
pdfpg.exe C:\A.pdf,1,3- C:\merged.pdf
pdfpg.exe delete C:\A.pdf,1,2,3 C:\out.pdf
pdfpg.exe delete C:\A.pdf,1,1-9 C:\out.pdf
pdfpg.exe delete C:\A.pdf,even C:\out.pdf
pdfpg.exe delete C:\A.pdf,odd C:\out.pdf
pdfpg.exe burst C:\A.pdf C:\split
pdfpg.exe split 2 C:\A.pdf C:\split
pdfpg.exe split 3 C:\A.pdf C:\split
pdfpg.exe bookmark C:\A.pdf C:\split
pdfpg.exe bookmark2 C:\A.pdf C:\
pdfpg.exe bookmark2 C:\A.pdf C:\out\
pdfpg.exe addbookmark 1 C:\A.pdf C:\B.pdf C:\out.pdf
pdfpg.exe addbookmark 2 C:\A.pdf C:\B.pdf C:\out.pdf
pdfpg.exe addbookmark 3 C:\A.pdf C:\B.pdf C:\out.pdf
pdfpg.exe addbookmark 3 C:\filelist.txt C:\out.pdf
pdfpg.exe addbookmark 4 C:\filelist.txt C:\out.pdf
pdfpg.exe mergeform C:\form1.pdf C:\form2.pdf C:\out.pdf
pdfpg.exe crossmerge C:\test1.pdf C:\test2.pdf C:\out.pdf
pdfpg.exe crossmerge2 C:\test1.pdf C:\test2.pdf C:\out.pdf
pdfpg.exe getpagecount C:\A.pdf
pdfpg.exe set RetainBookmarks on