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
Use
pdfbook
fromtexlive-extra-utils
texlive-extra-utils
:sudo apt-get install texlive-extra-utils
pdfbook
:pdfbook [pdf file]
This will output a pdf file that is in the form of a booklet.
source
I installed Boomaga from Ubuntu 16.04's repository. It solves all the problems, and dependencies from Acrobat Reader (now unsupported in GNU/Linux). It works with any installed printer.
It works very well and opens quickly with perfect render.
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 native to Ubuntu is to install Adobe Reader for Linux. It has booklet format printing as well. Install Acrobat Reader on Ubuntu
EDIT
An even better option that I just found out about is a package called bookletimposer.
tl;dr
pdfjam
seems the best option:What we want is one or more signatures/booklets (a bunch of sheets folded in half).
pdfbook
is one option which was, however, not quite satisfying since it is only able to create one booklet. In order to create multiple booklets its "brother"pdfjam
helps us out here:Creates a document mirrored along the long edge and creates 40 signatures.
Note: For
--signature n
:n
must be a multiple of 4There's also
pdfbook2
. Unlikepdfjam
it shows the--signature
option in the manpage. However it seems to be very slow or not working compared topdfjam
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
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.
EDIT oct '19: As of now I recommend the answer above, https://askubuntu.com/a/763721/142472 - install Boomaga
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.
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.
I had the same question. I like you, ran into those problems while trying to use pdfjam (apart from the large size of the packages that it needed installed). I asked a question on superuser, and the solution was perfect.
https://superuser.com/questions/596035/condensing-into-multiple-pdf-pages-per-sheet-via-command-line
I will recreate it here below, but please credit/upvote the original responder:
I’ve written a zsh script that prints a A4 PDF as booklet (on A3 Paper):
note that your printer config might be less broken than mine and you actually need to use
-o sides=two-sided-short-edge
Qoppa's free PDF Reader called PDF Studio Viewer has a booklet printing option under the Print dialog and runs on Linux. PS: I am a developer. https://www.qoppa.com/pdfstudioviewer/