{celebrating a decade of learning to write in front of an audience}

Printing a folded booklet in Linux

Here is a recipe for printing 8.5″ x 11″ pages four to a page (two landscaped on the front of each sheet, 5.5″ x 8.5″, and two on the back) such that when the pages are folded perpendicular to the long axis, they form a booklet that one can flip through.

1. Print the document as a PostScript file

Open up whatever program you want to print from: oowriter, acroread, evince, firefox, gedit, whatever.  Go to File→Print (or equivalent), select “Print to file”, choose “PS” as the format, give it a filename (I’ll assume you choose “document.ps”), make a note of the directory you’re printing it to, and click “Print”.

2. Get the PostScript utilities and viewer you need

In Ubuntu:

sudo apt-get install psutils evince

3. Rearrange the pages in booklet order

psbook document.ps document.signature.ps

4. Render the files “2-up”

psnup -l -pletter -2 -s.65 document.signature.ps > document.2up.ps

Option #1: Your printer prints double-sided

Just open document.2up.ps in evince (evince document.2up.ps) and print it.

Option #2: Your printer does not print double-sided

pstops "2:0(1in,0in)" document.2up.ps > odd.ps
pstops "2:-1(1in,0in)" document.2up.ps > even.ps
evince even.ps odd.ps

Print odd.ps, flip the pages over, then print even.ps (Keep track of how your printer flips your paper.  The direction the top edge is facing will stay the same, but you may have to load the pages face-up the second time, or maybe face-down.  Tip: make a small mark with a pencil on the top surface of the top page in the paper tray.  After printing, look at the page you put your mark on.  Is the text on the side with the pencil mark?  Load the pages face-down for the second pass.  Is it on the bottom?  The pages get flipped internally, so load your pages face-up.)

[Slightly modified from recipe at dsl.org]



One Response to “Printing a folded booklet in Linux”

  1. Jeir Says:

    Hey, there’s also impose+:
    http://imagic.weizmann.ac.il/~dov/freesw/impose+/

    Apart from printing booklets and two-up pages, it removes excess whitespaces, which is a breeze for people who want to squeeze the most out of a A5 page.

Leave a Reply, but read first

  1. Feel free to leave replies even to very old posts.
  2. Is your comment not specifically about this post?  Great!  Go here.
  3. Flame, curse, insult, shout — just don't spam!  You won't increase your PageRank, even temporarily (the URLs are tagged 'nofollow'), and I'll delete it anyway.  Save us both time.