home icon contact icon rss icon

Textmode

tools I use

Printing multiple pages on one page with Evince - Linux PDF tools

Right now there seems to be a bug in evince, that doesn’t allow the correct printing of multiple pages per sheet in evince.

I have a PDF containing single sites in landscape format.

The result I expected are sheets like this:

1…3

2…4

However, the result I’m getting, however I mix parameters is:

2…4

1…3

Solution

I used two handy little tools to solve this, the first thing I had to do is merge some single PDF Documents, then create a PDF with multiple pages per sheet.

PDFtk

From the man page:

.bq If PDF is electronic paper, then pdftk is an electronic staple-remover, hole-punch, binder, secret-decoder-ring, and X-Ray-glasses. Pdftk is a simple tool for doing every‐day things with PDF documents.

PDFtk helps us with the following features:

  • Merge PDF Documents
  • Split PDF Pages into a New Document
  • Decrypt Input as Necessary (Password Required)
  • Encrypt Output as Desired
  • Fill PDF Forms with FDF Data and/or Flatten Forms
  • Apply a Background Watermark
  • Report on PDF Metrics such as Metadata, Bookmarks, and Page Labels
  • Update PDF Metadata
  • Attach Files to PDF Pages or the PDF Document
  • Unpack PDF Attachments
  • Burst a PDF Document into Single Pages
  • Uncompress and Re-Compress Page Streams
  • Repair Corrupted PDF (Where Possible)

PDFJam

PDFJam is a collection of scripts:

  • pdfnup puts multiple document pages together on one physical page at a reduced size
  • pdfjoin concatenate multiple PDFs
  • pdf90 rotate PDF pages

Solution

As you can see, to merge PDFs you can either use PDFtk or pdfjoin. Here is the PDFtk way:


pdftk 1.pdf 2.pdf 3.pdf cat output 123.pdf

To get a PDF with multiple pages per physical page, we use pdfnup like this:


pdfnup --nup 2x2 --column true joined.pdf


balsagoth said

Oct 26, 2008 @ 06:59 PM

Hey, many thanks!! This tip helps me a lot! thanks for sharing.

Massimo said

Jan 21, 2009 @ 09:44 AM

Very good! Did you tell this to the evince’s developer team?

M

Christoph said

Jan 21, 2009 @ 09:48 AM

Hi Massimo,

I think I asked, and already knew this behaviour, but I’m not sure if it is even caused by evince directly.

It might of course be fixed since that time.

RSS feed for comments on this post

Leave a Comment