Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Add booklet printing capabilities via PDF Services System
This hint sets up "booklet style" printing to be accessible as a PDF workflow from the standard print dialogue. Booklet formats are common for publishing newsletters, etc., and involve imaging two pages to each side of a sheet of paper. The sheets are then collated, folded and stapled in the middle. The script will be particularly useful for users of Apple's new Pages (part of iWork) application.

The number of pages in the booklet is known as the signature of the book. For example, a booklet of signature 8 will print onto two sheets (front and back) in the following order:
  1. Sheet 1 front side: pages 8 and 1
  2. Sheet 1 reverse side: pages 2 and 7
  3. Sheet 2 front side: pages 6 and 3
  4. Sheet 2 reverse side: pages 4 and 5.
A book of 80 pages with "perfect binding" and a signature of 8 will have 10 bundles of 8 pages.

I came to write this script because I had suggested to my wife that she use Pages for producing her local Church magazine. She had a look and said it was no good because it couldn't produce booklet format, unlike MS Publisher. Thinking about it, I realised that this ability should not be wired into the application, but should be part of the printing infrastructure available to all applications.

In the Unix world, there is a set of PostScript utilities, psutils, that can be used to manipulate any PostScript document and can be used to produce a Booklet layout. Unfortunately, most of the programs in psutils do not work well with CUPS. However, most of the functionality of psutils can be obtained by passing options to CUPS -- all except psbook, which does the rearrangement of pages. This is presumably why there is no booklet layout option in print dialogues. Fortunately, psbook is the one utility that appears not to break CUPS.
  • Install a copy of psutils (obtainable from Fink). Actually, the only program you need is psbook.
  • Copy this perl script into /Library -> PDF Services -> 8pBook or the same spot in your user's Library. You can, of course, change the name of the file to whatever you choose.
  • You should now see '8pBook' as an option when clicking on the "Save as PDF" button in the print dialogue. Selecting the option will cause the document to be sent to the named printer in an 8-signature booklet form. The name of the printer, number of copies and collation options are preserved, although the script may break if the printer name has a space in it.
  • To allow different signatures, change the value of the variable $Sig and save the file under a different name. It would be nice to be able to pass the signature as a parameter, but I can't think of a clean way of doing this.
[robg adds: I haven't tested this one, and I'm not sure, but you may have to make the script executable (chmod 755 script_name) first.]
    •    
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[36,431 views]  

Add booklet printing capabilities via PDF Services | 20 comments | Create New Account
Click here to return to the 'Add booklet printing capabilities via PDF Services' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Add booklet printing capabilities via PDF Services
Authored by: biw314 on Feb 21, '05 10:47:15AM

is the link to the perl script dead?



[ Reply to This | # ]
Add booklet printing capabilities via PDF Services
Authored by: applemandesign on Feb 21, '05 11:23:01AM

the link is dead 404 page not found



[ Reply to This | # ]
Add booklet printing capabilities via PDF Services
Authored by: DougEdwards47 on Feb 23, '05 03:57:34AM

I did post the hint in the script; but you are right, the link is dead. If anybody wants the script, just mail me - it is not long.



[ Reply to This | # ]
Add booklet printing capabilities via PDF Services
Authored by: maddys_daddy on Feb 21, '05 11:00:14AM
Then there's CocoaBooklet, which not only allows you to drag 'n' drop documents onto it's application window to produce booklets, but it gives you the option to install the pdf service automatically. It's got configurable options, and uses LaTeX (which, btw, you don't have to install separately, as CocoaBooklet includes a minimal version of LaTeX). Not trying to render this hint irrelevant, just trying to provide an easier alternative for those who'd rather avoid complexity. To each his own, I always say.

[ Reply to This | # ]
Add booklet printing capabilities via PDF Services
Authored by: quietjim on Feb 21, '05 12:23:02PM

I just want to second the recommendation for CocoaBooklet. I publish a magazine and a couple of newsletters, so I spent a lot of time looking around for the options. Cocoa Booklet works great for producing simple signatures (just a gentle correction: the signature is the arrangement of the pages, not the format itslelf).

---
quietjim



[ Reply to This | # ]
Add booklet printing capabilities via PDF Services
Authored by: frankd on Feb 21, '05 12:26:03PM

If you want a command line program like psbook you can compile pdfbook.c which you can find at
http://www.tug.org/pipermail/pdftex/2004-February/004760.html
it works nicely and you can use it mostly like psbook.



[ Reply to This | # ]
Add booklet printing capabilities via PDF Services
Authored by: brettc on Feb 21, '05 12:37:30PM

I found a fantastic tool with a GUI called CocoaBooklet: http://www.versiontracker.com/dyn/moreinfo/macosx/23215
(works great for me with a 20 or 24 page stapled bulletin...)

Still researching some sort of "Bleed" support. This should obviously get clipped in the gutter, but haven't seen this available yet.

A couple others with GUIs I've checked out are: BookLightning and CheapImposter



[ Reply to This | # ]
Add booklet printing capabilities via PDF Services
Authored by: maddys_daddy on Feb 21, '05 03:06:14PM
I found a fantastic tool with a GUI called CocoaBooklet
Hmmm, you mean like the one I posted about above^^^? ;D

[ Reply to This | # ]
Add booklet printing capabilities via PDF Services
Authored by: barryjaylevine on Feb 21, '05 03:53:57PM

Remember "ClickBook" for OS8.6? It's now available for OSX here:

http://www.bluesquirrel.com/products/cbmac/

I've tried it and it's about 98% perfect. Probably a ".01" update will resolve any issues. Only downside is that it's about $50 and I know we're talking freebies otherwise.

---
-----
Two things in this world aren't overrated: Macintosh and Lemon Meringue Pie.



[ Reply to This | # ]
Add booklet printing capabilities via PDF Services
Authored by: georgeocrawford on Feb 22, '05 11:12:15AM

Can someone please tell me how to make a booklet from Adobe InDesign 3.0? Do I need a plugin? If so, where do I get it from?



[ Reply to This | # ]
Add booklet printing capabilities via PDF Services
Authored by: BulbVivid on Feb 22, '05 11:49:27AM

There's a few commercial solutions available at versiontracker, and you can check the Adobe Studio Exchange site for a few scripts and stuff. I would imagine that the scripts likely work well for personal/non-pro jobs, but the pro apps likely do the job the best and easiest (don't personally know, as I don't fool with booklets too much, I've just run across this stuff in my Internet travels).

If you're not too awful worried about (fine) quality, you could probably do the layout in ID, create a pdf, then use CocoaBooklet to "reprint" the original .pdf.

The Adobe ID forums have been helpful to me in the past.

Good luck.



[ Reply to This | # ]
Add booklet printing capabilities via PDF Services
Authored by: DavidRavenMoon on Feb 22, '05 01:01:49PM

You can use ALAP Imposer Pro to do impositions. I thought InDesign had a make booklet command... but I can't seem to find it.

---
G4/466, 1 GB, Mac OS X 10.3.8



[ Reply to This | # ]
Add booklet printing capabilities via PDF Services
Authored by: BulbVivid on Feb 22, '05 01:58:52PM

The PageMaker Plug-in Pack includes the InBooklet SE plug-in, which is the only thing I've found referenced in ID's help files as far as booklet making goes (from the help files: To impose a document, such as a booklet, use ALAP™ InBooklet™ SE. (See Using InBooklet.)).



[ Reply to This | # ]
Add booklet printing capabilities via PDF Services
Authored by: DavidRavenMoon on Feb 22, '05 03:58:23PM

Ah! Yeah I have the PageBreaker plugins installed at work, but not at home ... :)

---
G4/466, 1 GB, Mac OS X 10.3.8



[ Reply to This | # ]
Quick Signature Clarification
Authored by: BulbVivid on Feb 22, '05 11:38:05AM
Signature:
a letter or figure placed usually at the bottom of the first page on each sheet of printed pages (as of a book) as a direction to the binder in arranging and gathering the sheets b : the sheet itself which when folded becomes one unit of the book
A signature is a single sheet of paper with x number of document pages on it, depending on document-page size/sheet size. 6 x 9 books typically have 32 pages on a 25 x 38 sheet (32-page signature). 8 1/2 x 11 books typically have 16 pages on a 23 x 35 sheet (16-page signature). I'm sure someone with a little more press experience could expand (or correct, if necessary) this information.

[ Reply to This | # ]
perfect bound vs. saddle stitch
Authored by: DavidRavenMoon on Feb 22, '05 12:48:11PM

A book with 2 page spreads, like 8 & 1, backed with 2 & 7, etc., is not perfect bound. It's a saddle stitch booklet, because it will be folded and stapled (stitched).

Perfect bound books are single two sided pages, page 1 on one side, with page 2 on the other, and so on. Perfect bound books are glued on their spine. A paperback book is a good example of perfect binding.

Anything with staples in the middle, is a saddle stitch.

---
G4/466, 1 GB, Mac OS X 10.3.8



[ Reply to This | # ]
Dialog to select number of pages on a signature
Authored by: jecwobble on Feb 22, '05 04:50:56PM
I'm not sure I'm using the term 'signature' correctly, but regarding the original poster's comment about the number of pages to use, I have a couple of suggestions. Since the link to the Perl script is broken, I can't do this myself, but when it is fixed, I'm sure an AppleScript applicatoin (or AppleScript Studio app) could be written to select a number to pass to the Perl script.

Alternately, Pashua or CocoaDilog could be used to achieve the same result.

[ Reply to This | # ]

Dialog to select number of pages on a signature
Authored by: DougEdwards47 on Feb 23, '05 04:25:27AM

Sure, it would not be difficult to wrap this up in Applescript to generate a dialogue to prompt for the signature - but I don't find that elegant. Coming from a Unix command line enironment, I find nested dialogues tedious. The correct solution would be to add the option to the 1st page of the standard print dialogue.



[ Reply to This | # ]
Add booklet printing capabilities via PDF Services
Authored by: robg on Mar 04, '05 02:22:07PM

I've uploaded the script now; sorry for the confusion!

-rob.



[ Reply to This | # ]
Add booklet printing capabilities via PDF Services
Authored by: luomat on May 25, '08 05:44:01AM
That's a lot more complicated than the freeware "Create Booklet" that you can find here

http://www.versiontracker.com/dyn/moreinfo/macosx/28747

which was updated just a few months ago (as of 2008-05-25)



[ Reply to This | # ]