This page was edited more than a year ago (2010-10-11), content might not be relevant or accurate anymore.

Creating A5 booklets from PDF

This script takes PDF file and number of pager (multiply of 4) and creates new PDF ordered for booklet printing.

:!: Make sure you're using the right paper orientation and ordering when printing in batches (odd, even pages) – you should try it on 4-page document first. Not tested on duplex printer.

# usage infile.pdf pages
pdftops -paper match $1 && \
psbook -s $2 && \
ps2pdf booklet3.pdf && \
pdfnup --nup 2x1 booklet3.pdf --outfile `echo $1|sed 's/.pdf$//i'`-booklet.pdf && \
rm booklet3.pdf

There might be better solution using pdfbook but I don't know how to make it use the right ordering.

Back to top
howto/creating_a5_booklets_from_pdf.txt · Last modified: 2010/10/11 14:34 by disorder
disorder's homepage Valid CSS Valid XHTML 1.0 Recent changes RSS feed