Page 1 of 1
Delete pages from PDF
Posted: Fri Mar 08, 2019 4:40 pm
by Penguin
Is there a script I can use in the Acrobat module to delete pages from the Preflight report. I'm trying to delete from page 3 to end. Any help is appreciated. Also is a place to get sample scripts to use in Switch Scripter
Re: Delete pages from PDF
Posted: Fri Mar 08, 2019 6:35 pm
by apietrocini
I'm sure there is a script available, but an easier way may be to use the split pdf configurator. I believe you can break the pdf out into individual pdf's, trash all the pages you don't need and then use the merge pdf to reassemble.
Re: Delete pages from PDF
Posted: Fri Mar 08, 2019 6:42 pm
by Penguin
I did it that way first but every time a file goes through it would then go to the problem jobs folder and I'd receive an email.
Re: Delete pages from PDF
Posted: Fri Mar 08, 2019 6:46 pm
by apietrocini
When you split the pdf how many pages per file do you have it set at...?
Re: Delete pages from PDF
Posted: Fri Mar 08, 2019 7:08 pm
by Malcolm Mackenzie
If you have pitstop server you can delete pages there or use pdftk CLI. Either is more efficient than acrobat.
Re: Delete pages from PDF
Posted: Fri Mar 08, 2019 7:23 pm
by apietrocini
Malcolm Mackenzie wrote: ↑Fri Mar 08, 2019 7:08 pm
If you have pitstop server you can delete pages there or use pdftk CLI. Either is more efficient than acrobat.
I like this idea better!
Re: Delete pages from PDF
Posted: Fri Mar 08, 2019 8:40 pm
by Penguin
I'm trying to use Pitstop Server but the file just passes through the hot folder without being processed how do I make it process? I'm very green for the record.
Re: Delete pages from PDF
Posted: Sat Mar 09, 2019 10:23 am
by Malcolm Mackenzie
The report needs to go to another PitStop element and run a saved action as below

- Screenshot 2019-03-09 09.22.20.png (36.46 KiB) Viewed 14750 times