These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Programming Sample - Splitting a PDF

javelinco
Registered: Mar 26 2007
Posts: 4

Can someone point me to some sample code that would show me how to take a single PDF document, and split it into multiple documents, based on the page range that I specify?
 
Thank you!

My Product Information:
Acrobat Pro 8, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
You only need one JavaScript function.
"doc.extractPages()". This function is intended to operate only in a privileged automation script. It will not operate from a document script.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script