Link to home
Start Free TrialLog in
Avatar of kes3
kes3

asked on

Merge two PDF docs

Hi,

I have a sheet feeding scanner which scans to PDF.
When I scan a two sided doc I scan the odd pages then turn the doc over and scan the even pages.
This produces two PDF docs. One containing pages 1,3,5,7,... the other containing pages 2,4,6,8,...
Is their a free/GPL or low cost tool to stitch odd and even pages together in the correct order *automatically* giving a PDF with 1,2,3,4,5,6,7,8,....

Regards

Kes3
ASKER CERTIFIED SOLUTION
Avatar of lherrou
lherrou
Flag of Ukraine image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of kes3
kes3

ASKER


Thanks LHerrou,

That did it.

Regards

Kes3
Avatar of kes3

ASKER

Many thanks to all ...
Excellent, glad to be of assistance. Thanks for the points and the "A" :)
Before you can join the files with pdftk, you need to first split the documents into individual pages. The concatenate command in pdftk will just take two (or more) files and merge them into one. Given the two files you already have, you would end up with a document that contains the following page order:
1,3,5,7,...,2,4,6,8,... You would use the "burst" command to split up the pdf documents into indivudual page documents. Just make sure that you keep track of the correct file names.

Do you have the full version of Acrobat? If so, you can use some JavaScript to reorder the pages after you merged the documents.