Create a booklet or a multipage PDF from a single page one
mouse 182 · person cloud · link
Last update
2019-04-30
2019
04-30
« — »
1
2
3
4
5
6
7
8
9
10
11
12
13
# install pdftk, pdfjam & scripts
apt install pdftk texlive-extra-utils

# --- input is an A4 portrait PDF ---
pdfnup  --a4paper --scale 0.95 --nup 2x1 in.pdf # multipage
pdfbook --a4paper --short-edge           in.pdf # booklet

# --- input is an A4 landscape PDF ---
pdfnup  --a4paper --scale 0.95 --nup 1x2 --no-landscape in.pdf # multipage
pdfbook --a4paper --short-edge in.pdf # simple booklet
# better booklet (minimize blank space)
pdf90 in.pdf # or pdftk in.pdf cat 1-endwest output in-rotated90.pdf
pdfbook --a4paper --short-edge in-rotated90.pdf

In case of need you can create a blank page via convert xc:none -page A4 blank.pdf.