2
votes

I'm trying to convert a series of pdf files to 2up so they can be read like a magazine.

I've seen the pdfjam scripts, which seem quite complex to install on Mac, so I tried using PyPDF2. I thought I could use the setPageLayout('/TwoPageRight') method on a PdfFileMerger object, then merge the input file. But this doesn't change the output format at all.

Any idea what I'm doing wrong? Is there a better way?

1
I found a solution, based on the sample script at github.com/mstamy2/PyPDF2/blob/master/Sample_Code/2-up.py - keble

1 Answers

0
votes

As mentioned in my comment, I found a solution at github.com/mstamy2/PyPDF2/blob/master/Sample_Code/2-up.py