Bug 275466

Summary: [Wish] Brochure printing / Booklet printing
Product: [Applications] okular Reporter: kde
Component: generalAssignee: Okular developers <okular-devel>
Status: CONFIRMED ---    
Severity: wishlist CC: aacid, cannewilson, flying-sheep, m.weghorn, msylwester, myrkat, reinhold
Priority: NOR    
Version: 0.12.2   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Implements book(let) printing for Ocular.

Description kde 2011-06-12 14:19:58 UTC
Version:           0.12.2 (using KDE 4.6.3) 
OS:                Linux

Hi,like the printig-options of acrobat reader. Is there the chance to implement the feature brochure printing/ booklet printing in okular too?

Reproducible: Always
Comment 1 Reinhold Kainhofer 2011-06-20 17:26:18 UTC
Ideally, this would be implemented globally for all kde applications, not just for Okular. See bug #179468
Comment 2 pejuko 2012-05-22 08:37:57 UTC
Created attachment 71287 [details]
Implements book(let) printing for Ocular.

This patch adds "Book mode" option to PDF option tab which places two pages on sheet paper and print them as two-side short-edge. Pages are sorted that you can just cut the pages and tie them together similary as does pdfbook or acrobat.

It works perfectly if the number of pages is dividible by 4 otherwise there is a blank page in the middle of book or the last page is placed on the wrong stack and before tieing it together you need to move it to right one. To correct this it is necessary to insert blank pages. Is it possible to do this in Okular eg using poppler-qt?
Comment 3 Albert Astals Cid 2012-05-22 21:11:05 UTC
The fact you need to insert blank pages means you are doing it at the wrong level, can't lpr do this?
Comment 4 Reinhold Kainhofer 2012-05-22 22:24:11 UTC
Back in the KDE 3.x days, KPrinter added this functionality to select booklet printing from any KDE application (inkluding kpdf). To me, this was THE KILLER FEATURE in KDE... Unfortunately in KDE 4.x, KPrinter was removed and QPrinter used exclusively, which completely lacks booklet support.

I don't think lpr can do this automatically (there is the psbooklet utility, which you have to call manually, though). Even CUPS doesn't do it out of the box, but some cups printer drivers support printer-side booklet handling.
Comment 5 Anne Wilson 2012-08-31 09:45:24 UTC
Some time ago I was told that the qt libraries did not support brochure printing.  That must be a couple of years ago, so I'd hope the situation has changed since then.

This is a much-needed facility.  Please replace this feature as soon as possible.  There is an increasing trend to supply manuals only online, so many people will need, as I do, to print certain sections that are frequently accessed, and two-up duplexed saves a lot of trees.
Comment 6 John King 2013-11-15 20:18:10 UTC
*** This bug has been confirmed by popular vote. ***
Comment 7 Michal Sylwester 2014-03-17 07:20:50 UTC
Stumbled across this by accident, but is at least a partial solution: There is a collection of scripts "KDE Service Menu PDF" that add (among others) converting pdf to booklet. Can be found here: http://kde-apps.org/content/show.php?content=37321 but is also installable from Dolphin's "Download new services". Adds new actions when right-clicking a pdf file.

One note: on my system it seems to incorrectly suggest number of pages, I think the correct number is "same as number of pages or the next bigger number on the list". The resulting file should be printed with duplex-short side.

This is not a solution for this wish, but easiest way to create booklets I've found so far. As mentioned before, would be nice to have this integrated into print dialog.
Comment 8 r0y 2022-03-19 22:45:39 UTC
This is one of those things I am willing to pay cash for.   Please for the love of all that is good and holy, implement this!