Link to home
Start Free TrialLog in
Avatar of Goraps
GorapsFlag for Canada

asked on

How to DE-MERGE (Split) multiple page PDF

I have a 1000 page PDF document that needs to be broke out into separate pages. each page it's own PDF document... How can I make this happen... thanks
ASKER CERTIFIED SOLUTION
Avatar of Joe Winograd
Joe Winograd
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Goraps

ASKER

is there a way to create a range as well?  So pages 1 - 80 I want as 1 document ... 81 - 100 I want seperate PDF's 101 to 500  I want as 1 document.. etc..etc...
Yes. That would be the "cat" operation, which "catenates" pages. For example:

pdftk input.pdf cat 1-80 output out1-80.pdf
pdftk input.pdf cat 81-100 output out81-100.pdf
pdftk input.pdf cat 101-500 output out101-500.pdf

The parameter after "cat" is the page range; the parameter after "output" is the name of the PDF file created. Regards, Joe
Avatar of Goraps

ASKER

And I can name the output file anything i want?
Yes. The string after the "output" parameter can be any file name you want. If there are spaces in it, enclose the name is quotes, such as:

pdftk input.pdf cat 1-80 output "this is an output file name with spaces.pdf"

Of course, the file type/extension will always be pdf. Regards, Joe