Page 1 of 1

Trying to split a PDF in 3 different peaces

Posted: Fri May 26, 2017 12:51 pm
by tobt_knows_best
Hey Guys,

is there anybody who could tell me how to split or a PDF in 3 peaces with different width?
I need to cut an document via (defined) action in peaces like:

148mm - 25mm - 148mm...


The hight would be 210mm - if necessary...
Is it possible to create an action for things like this in pitstop? I just could figure out that there are actions for splitting pages in half :/

Thanks for any help in advance! ;)
BR
Tobi

Re: Trying to split a PDF in 3 different peaces

Posted: Mon May 29, 2017 9:30 am
by Terkelsen
If you duplicate the first page twice, so that you end up with a document that contains three identical pages. I'm not sure that this can be done in Pitstop, but if you have Switch it's easy. Otherwise you could duplicate the page manually in Acrobat.

Then you make an action, that selects the first page and set the media box to 0,0,148,210. Select page two and set media box to 148,0,175,210. Select page three and set media box to 175,0,301,210. You might want to change the other page boxes to the same size as the media box.

If you have switch, you don't need to make one document. You could just run copies of the document through three different actions.

Re: Trying to split a PDF in 3 different peaces

Posted: Mon May 29, 2017 10:32 am
by loicaigon
If no switch at hand, you could use the CLI and calling it from a bash command. That way you could copy the source file & do the slicing three times to the specific output. I guess you may need only one action while using variables. The latter being set in the config xml file.

Re: Trying to split a PDF in 3 different peaces

Posted: Tue May 30, 2017 10:17 pm
by Terkelsen
Hey, I just found that you can actually do it all in one action. If you open the one page document, make an action that inserts two new pages. Then select Page 1. Copy the selection to clipboard. Select page 2 and paste the content of the clipboard. Repeat this for page 3. This way you have a three page document with three identical pages. Then follow the directions I gave in my first answer and you have a three page document with each page being a different slice.

I have made the action. Let me know, if you want a copy.

Re: Trying to split a PDF in 3 different peaces

Posted: Thu Jul 27, 2023 12:34 pm
by quartzibexe
I wish I saw this information soonerhappy wheels!

Re: Trying to split a PDF in 3 different peaces

Posted: Thu Jul 27, 2023 2:43 pm
by jslater
If you have access to the PitStop workshop videos, Andrew did one devoted to this problem back in May 2019. Here's the link:
https://learning.enfocus.com/course/view.php?id=227