Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm trying to merge multiple PDF files by using pdfjoin. However the joined PDF is not right beacuse orientation for some text is changed. I have checked all options of pdfjoin, enforcing orientation etc. but of no use.

The two source PDFs have slightly different dimensions (595 × 842, 595 × 841) and should be merged as A4. How can I merge them in A4?

I know about other merging tools online but the problem with them is that the generated PDF is not further processable as in pdfjoin.

I'd like to know if there are some solutions for Linux/Mac to merge PDFs with slightly different sizes in to a single file.

share|improve this question

migrated from stackoverflow.com Nov 1 '11 at 16:20

This question came from our site for professional and enthusiast programmers.

2 Answers 2

pdfjam --paper a4paper file1.pdf file2.pdf did the trick for me using one letter-sized document and one slightly-not-A4-document, they're both joined as A4 as expected.

share|improve this answer
2  
Comment by the OP: Thanks but I found a solution for pdfjoin as well. There is an option --rotateoversize which rotate a page that has even a slightly large page size. By setting it to false, it fixed the problem. –  Ivo Flipse Nov 2 '11 at 10:33
    
pdfjoin is just a front end for pdfjam, you can use all pdfjam options with pdfjoin –  dom0 Oct 1 '13 at 18:48
pdfjoin --paper a4paper --rotateoversize false

does the trick for me. rotateoversize is the important option

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.