PDF Splitter Command Line
Usage: PDFSplitter.exe <source> <destination> <options>
If you have path with spaces, use quotation marks.
By the way You can use macroses in the Destination path
- <DATE[:format]> - current date, default format is yyyymmdd
- <TIME[:format]> - current time, default format hhmmss
For example: destination C:\<DATE>_<TIME:hhmm> produce file C:\20100307_1241Options:
- -log <FileName> - Don`t show errors. Write them to the log file
- -list - File with files mask to convert
- -Recurse - Include subfolders
- -do - Delete originals
- -kfs - Keep Folder Structure
- -errdir - Error folder (for invalid files)
- -em - Split method
- pg - Extract page range
- bm - Splite by bookmarks
- bl - Split by blank pages
- -bc - Split by selected blank pages in a row
- -bt - Blank page detection tolerance (1-10)
- -t - Template for generating file name
- -ts - Start numbering from value for template (-1 - base on destination folder files count)
- -b - Split file by bookmarks in this level
- -p - Extract only this pages
- -cp - Make new document every pages
- -Delimiter - CSV Delimiter
- -pass - Password
- -FP - Fit To Page
- -si - Convert into single image
- -po - Paper Orientation
- Portrait - Portrait
- Landscape - Landscape
- -ps - PaperSize
- Letter - Letter
- LetterSmall - Letter Small
- Tabloid - Tabloid
- Ledger - Ledger
- Legal - Legal
- Statement - Statement
- Executive - Executive
- Folio - Folio
- A3 - A3
- A4 - A4
- A4Small - A4Small
- A5 - A5
- B4 - B4
- B5 - B5
- Quarto - Quarto
- EnvC5 - Envelope C5
- EnvC3 - Envelope C3
- EnvC4 - Envelope C4
- EnvC6 - Envelope C6
- EnvB4 - Envelope B4
- EnvB5 - Envelope B5
- EnvB6 - Envelope B6
- EnvMonarch - Envelope Monarch
- Custom - Custom, you need to set paper dimensions
- -pd - Custom paper size dimensions <width>x<height>
Examples:
- PDFSplitter.exe C:\Images\Example.pdf C:\Pages\
Split file Example.pdf into folder C:\Pages, using default file name template (Example.PageX.pdf) It allows users to define a constant pad. Example: "page5#", which will cause all pages to be output with a constant pad, page00001, page00002
- PDFSplitter.exe C:\Images\Example2.pdf C:\Pages\ -p 2-3
Extract only page 1 and page 2