splitting shaping things, by bruce sterling

PDF ZAC

PDF Python

There is this book i want to print (see Birds press, but the pages are already coupled 2 by 2 and so the booklet printing doesn't work.

This script uses pypdf2 to crop and transform the a4 horizontal pages of the pdf into 2 a5 vertical ones.

Good way to procrastinate eh

Usage

First install the requirements (actually just PyPDF2)

pip install -r requirements.txt

The script takes a input.pdf and gives out a output.pdf.

Then run the code.

python3 zac.py