Page 1 of 1

Reorder pages in a pdf

Posted: Wed Dec 18, 2024 3:36 pm
by schmitzdp
Hello,

I have a 4-page combined pdf containing details of 4 job tickets (1 per page). When job 3 is modified, I want to generate the pdf of job ticket n°3 from its metadata, then delete page 3 from the combined pdf and include the new pdf of job ticket 3 in this location.

I've tried to do this with the “Inject Wildcard” application to retrieve the combined pdf, delete page 3 with Pitstop Server, merge the pdf then reorganize the pages with Pitstop Server but without success.

Do you have any ideas on how to do this?

Thanks

Re: Reorder pages in a pdf

Posted: Thu Dec 19, 2024 3:49 pm
by JulienK
Hello,

Without knowing all the constraints, it would be easier and more efficient to skip the creation of a new PDF file. I would instead modify the 4 pages PDF by editing the 3rd page (Select Page 3 / Remove selection and then add metadata). This eliminates the trouble of assembling 2 PDFs.

If you must have a Job 3 pdf file separately and assemble it in the combined PDF you can either:

A) Inject the Job 3 PDF and assemble it with the combined pdf, merge pdf and delete page 3/reorder pages in PitStop
Image

B) You can use the Add pages action to insert a page from a PDF. Using variables you can load the Job 3 PDF. This requires that the Job 3 PDF is ready in a fixed folder location!

Hope this helps you figure a way forward!

Re: Reorder pages in a pdf

Posted: Thu Dec 19, 2024 5:23 pm
by laurentd
If you still need to import another pdf file, you can create an action list:
  • select a page (variable number)
  • delete its content (remove selection)
  • overlay pdf. Location can be fixed, or you can use a variable.
This way, no need to reorder pages.

Re: Reorder pages in a pdf

Posted: Mon Dec 23, 2024 4:22 pm
by schmitzdp
Thank you for your help.

I have found and simplified as follows:

When I have a job ticket that is created or edited (for example: 1400-3.pdf), I place it where the others of the same order are.
Then, with the “Inject Wildcard” application, I retrieve all the PDF ticket jobs that start with “1400” to assemble them and then merge the global PDF.