The focus of this recipe is on the last bit: rearranging pages so that you can easily print out nice booklets. For a quick-and-dirty solution you can use Abiword or OpenOffice for the page-lay out part but Scribus is essential when you want to be precise with typography.
The recipe is based on the How-To posted on the Scribus Wiki:
To make this recipe, you need to open a terminal, shell or work in the commandline. If you have never done this before, have a look a this tutorial: http://linuxcommand.org/
You can of course print texts of any length, but folding and stapling more than 12 sheets of paper gets really hard so we suggest making booklets of 48 pages maximum.
The tools mentioned are all available in most software repositories, and can be installed using Ubuntu's Synaptic.
- Linux operating system* [Debian / Ubuntu]
- Browser [Firefox]
- A text available under an open license
- xpdf-utils (includes: pdftotext, pdftops, ps2pdf?)
- Texteditor [Gedit]
- Lay-out software [Scribus 126.96.36.199]
- Font [Bitstream Charter]
- psutils (includes: psnup, psbook)
- A piece of soft cardboard (side of a box for example)
Print A Booklet In 19 Easy Steps
- Choose any text that is available under an open license
- Download the text to your harddisk in .pdf format or copy the text into a text editor
- If you have downloaded a .pdf file, you need to convert the .pdf to
a plain text file using the commandline:
~$ pdftotext infile.pdf
- Clean up the file as much as possible (remove unneccessary white lines, check whether any other corrections need to be made) in a text editor and save the document as .txt
- Open Scribus and start a new document with the following options selected: Size: A5, Number of pages: 48, Page Layout: double sided and Automatic Text Frames
- Import the .txt file in the Automatic Text Frame and do the necessary lay-out; add page numbers etc.
- Remove all empty pages so that you end up with a multiple of 4 pages (either 4, 8, 12, 16, 20, 24, 28, 32, 36, 40, 44 or 48 pages).
- Save / export the document as .pdf with fonts embedded
- Using the commandline, convert the pdf file to postscript:
~$ pdftops -paper match infile.pdf outfile.ps
- Rearrange the pages so that when printed and folded, each page ends
up in the right place (when your booklet has 8 pages, page 1 should
be placed opposite of page 8, page 2 opposite of 7 and 4 opposite
of 5). n is the amount of pages in your booklet.
~$ psbook -sn infile.ps outfile.ps
- Arrange two A5 pages next to each other on one A4 sheet (-2 refers
to the amount of pages on the A4):
~$ psnup -2 -PA5 infile.ps outfile.ps
- Convert the document back to .pdf format (This seems a redundant
step, but without it I had problems with placing, so...)
~$ ps2pdf infile.ps outfile.pdf
- Also use the commandline to print first the even pages (myprinter
is the name of your printer, n is the amount of copies)
~$ lpr -P myprinter -o page-set=even -#1 infile.pdf
- When the even pages are printed, you need to re-arrange the order of the pages so that the first page comes last.
- Put the pages upside down back in the printer
- Now print the odd pages
~$ lpr -P myprinter -o page-set=odd -#1 infile.pdf
- Fold the pages from A4 to A5
- Fold the stack back open and place it on the piece of cardboard with the cover facing you. Click open your stapler so you can staple the stack in the middle
- Gently remove the stack (which is now stuck to the cardboard) and fold the staples back in.
*It should work on OSX too, but I have not tested this yet