How to combine

This Forum is for the use of End Users requiring help and assistance for Tracker Software's PDF-Tools.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan

Post Reply
Victor Warner
User
Posts: 138
Joined: Wed Sep 23, 2009 8:15 am

How to combine

Post by Victor Warner »

I have two separate PDFs (eg odd.pdf and even.pdf) and wish to combine/merge them as follows:

After combination/merging

(a) odd.pdf will be pages 1, 3, 5, 7, 9 etc

(b) even.pdf will be pages 2, 4, 6, 8 10 etc

Is this possible with PDF-Tools? Split/Merge PDFs tool does not appear to permit this.
User avatar
Radi - Tracker Supp
Site Admin
Posts: 597
Joined: Tue Mar 03, 2015 12:46 pm

Re: How to combine

Post by Radi - Tracker Supp »

Hello Victor,

We do not have such a feature, however, you can do this using a Java Script and the Editor. Please take a look at the following forum topic to find the instructions and the script:
https://www.pdf-xchange.com/forum3 ... 411#p66411

Regards,
Radi
Victor Warner
User
Posts: 138
Joined: Wed Sep 23, 2009 8:15 am

Re: How to combine

Post by Victor Warner »

Radi,

Thank you very much. Exactly what I needed.
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17824
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: How to combine

Post by Tracker Supp-Stefan »

:D
Peter2
User
Posts: 946
Joined: Mon Sep 13, 2010 10:09 am
Location: Switzerland

Re: How to combine

Post by Peter2 »

Radi - Tracker Supp wrote: Wed Jan 03, 2018 2:30 pm ...Please take a look at the following forum topic to find the instructions and the script:
https://www.pdf-xchange.com/forum3/viewtopic.php?p=66411#p66411
...
For me, the link is dead. Can it be found somewhere?
PDF-X-Change Pro German
User avatar
TrackerSupp-Daniel
Site Admin
Posts: 8440
Joined: Wed Jan 03, 2018 6:52 pm

Re: How to combine

Post by TrackerSupp-Daniel »

Hello, Peter2

It seems that the thread is no longer available, in any case, I happen to have the Js that would have been mentioned there, here:
Reorderpage A1B1.zip
(482 Bytes) Downloaded 43 times
Simply open this folder, and look at the text file within, this provides instructions for how to use it.
First, ensure that the two of them are the exact same length (this tool will not work properly if doc A is 9 pages and doc B is 7 pages, for example, add blank pages to one or the other before you merge them if they are not the same length, then manually remove those pages after using the tool above.
Once you have made sure they are the same size, merge the two documents together, and then click the new button on the "Add-on tools" toolbar, inside the editor.

Kind regards,
Dan McIntyre - Support Technician
Tracker Software Products (Canada) LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
Peter2
User
Posts: 946
Joined: Mon Sep 13, 2010 10:09 am
Location: Switzerland

Re: How to combine

Post by Peter2 »

Thanks, Daniel!
PDF-X-Change Pro German
User avatar
Radi - Tracker Supp
Site Admin
Posts: 597
Joined: Tue Mar 03, 2015 12:46 pm

Re: How to combine

Post by Radi - Tracker Supp »

We were also able to dig up the topic in question. If anyone is interested:
viewtopic.php?p=124474

Regards,
Radi
User avatar
Vladimir G - Tracker Dev
User
Posts: 40
Joined: Thu Nov 30, 2017 1:24 pm

Re: How to combine

Post by Vladimir G - Tracker Dev »

Since this topic is brought up again I want to say that operation requested in original post can be performed in PDF Tools with "Every N pages from different document" option of "Split/Merge Documents" action as shown on attached screenshot.

This option will take pages one by one from each document passed for processing, but if the pages count is different, no new pages will be inserted to document to equalize pages count in all documents.

Split-Merge options.png
Vladimir Goshko
Software Developer
Tracker Software Products
Post Reply