Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

In the past I had a printer that had the booklet format option that would print the document two pages at a time ordered in a way that folding the whole printout would produce a booklet, half the size of the paper which could be stapled in the middle.

My current printer does not support this feature. I would like to use some utility or script to convert an A4 pdf to an A5 booklet one.

I found this page but I'm getting an error : pdfjam ERROR: can't find pdflatex!

How do I get past this issue? Does anybody know of any other solution?

I'm on Ubuntu 12.10 AMD64

share|improve this question
3  
If pdflatex can't be found, you should install it... sudo apt-get install texlive-latex-base. The Acrobat Reader has a software booklet option, but your printer should support duplex printing for that. –  con-f-use Nov 8 '12 at 11:11
1  
I did that and got another dependency issue. pdfjam ERROR: LaTeX package pdfpages.sty is not installed. It doesn't seem to be a very stable package. I'm resorting to another solution. –  To Do Nov 8 '12 at 13:58
    
I installed adobe reader and that solved the problem but it was not so simple on Ubuntu 12.10 64 bit. –  To Do Nov 8 '12 at 13:59
3  
Calling apt-file search pdfpages.sty shows that you need to install texlive-latex-recommended, too. –  krlmlr Jan 16 '13 at 12:26
    
@EricCarvalho This is most definately not a duplicate. –  AJMansfield Sep 5 '13 at 21:43

5 Answers 5

It should have nothing to do with your printer as long as the printer has duplex(both sides of a page) printing. It has to do with page ordering.

It is incredible that such a simple function does not exist yet in Ubuntu.

I solved for my 4 pages booklet, putting the number of the pages to be printed in this order: 4,1,2,3. For a 8 pages booklet it would be 8,1,2,7,6,3,4,5. For a 16pages one... 16,1,2,15,14,3,4,13,12,5,6,11,10,5... and so on .... Not practical and immediate but Works.

share|improve this answer
1  
The booklet function was a feature of my previous printer's driver. The driver of the printer I have now doesn't have that feature. –  To Do Jan 4 '13 at 17:26
    
Exists, too: psbook or pdfbook do this for you. See this related post: askubuntu.com/q/52269/30266 –  krlmlr Jan 16 '13 at 12:30

I had the same question. I like you, ran into those problems while trying to use pdfjam (apart from the extravagant weight of the packages that it needed installed). I asked a question on superuser, and the solution was perfect.

http://superuser.com/questions/596035/condensing-into-multiple-pdf-pages-per-sheet-via-command-line

I will recreate it here below, but make sure to upvote the original responder:

to perform an IMPOSITION, nothing is better than Multivalent.jar (latest free version with tools inside, latest Multivalent build currently hosted on sourceforge - 2009 - has no more pdf tools)

you can download the Multivalent.jar build with tools from:

http://www.ziddu.com/download/1794145/Multivalent.tar.gz.html http://ge.tt/#!/21OPDHX/v/4 http://dingodog.minus.com/mjhNX8Eiu online man - http://multivalent.sourceforge.net/Tools/pdf/Impose.html

use:

java -cp path...to/Multivalent.jar tool.pdf.Impose -dim (rowsxcols) -paper (paper sizes where pages will be imposed) file.pdf

share|improve this answer

(Would post as comment, but I don't have enough "reputation"...)

The best solution I found is at http://bernaerts.dyndns.org/linux/74-ubuntu/248-ubuntu-imposition-print-book (linked as "this page" in original question).

Installation command given is

sudo apt-get install poppler-utils pdfjam texlive-extra-utils

which should take care of dependencies.

This is an easy step-by-step guide, including a nifty right-click for Nautilus (which is easily done in Thunar as well).

I still wonder why this function isn't included in CUPS or the general print dialogue.

share|improve this answer
up vote 0 down vote accepted

I found a solution. I installed PDF XChange Viewer for Windows (running through Wine). It has booklet format printing option that works well.

Another option is to install Adobe Reader for Linux. It has booklet format printing as well.

EDIT

An even better option that I just found out about is a package called bookletimposer.

share|improve this answer
1  
Better call it a "workaround"... –  krlmlr Jan 16 '13 at 12:26

I found this python-gtk script, pdfbooklet that takes a PDF, rearranges the pages to make a booklet, and saves that as a PDF. It has a number of options to automatically generate different types of booklets.

It depends on python-poppler.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.