Archive for March 10, 2008

Bookbinding HOWTO Step 1: Printing process

This involves the process of arranging the pages into several booklets and printing them. This might seem stupid, but printing a book is sometimes trivial and sometimes a lot trickier than it looks. You need to print 2 pages in each side of the sheet, and arrange them in a way that results in properly ordered page-numbers once you fold the booklet. I normally work with 5 pages per booklet. More pages is too much once you fold, and less is simply too little. The sewing process is the most time consuming and the more booklets you end up with, the more sewing you’ll have to do.

Typically you’ll be working with a PDF or a PostScript file. I will not discuss Windows programs to print booklets because I don’t use any. I’ve heard of a pseudo-printer driver called FinePrint that manages precisely the booklet printing process, but I haven’t used it and it’s not free, so if you are not willing to use the Linux/*nix programs mentioned bellow you should do some investigation on your own.

Some of the commands discussed here can manage only PDF or PS file, but not both. The ones for PDF are usually front ends for the pdfLatex suite. In any case, you can allways convert from PS to PDF and from PDF to PS, so this shouldn’t be a problem. Be advised though: some conversions from one format to the other can involve a sever loss in legibility, so if there’s a command available for your specific filetype you should stick with that. Another useful thing to have into account is that you can always obtain a PDF file of anything. If you are using Cups you’ve got a really nice pseudo-printer to make PDFs out of anything, so use it!

The margins

I you are using A4 paper-size you are going to end up with an A5-sized book. That is 148 mm × 210 mm, which is fine for a paperback book but you should be careful with the margins in the PDF. Too much wasted space will result in extremely small font-sizes, and even with a perfect eyesight reading such a book can be tiresome.

If your PDF wastes too much space you should trim the pages before you print them. There’s a tool included in pdfjam called pdfjoin. Besides joining pages it can do the trimming part. There’s also a command called pdftrim, but it takes a lot longer to run. I think the reason is that it does some actual resizing.

Normally the margins you should trim will vary and you’ll have to find them out by trial and error. I usually make a smaller PDF to make each test faster. I use pdfnup for this. For example, to make a subset called oud.pdf from a source called in.pdf with pages 40 to 50, I would use:

pdfnup in.pdf --nup 1x1 --pages 40-50 --outfile out.pdf

Click to continue reading “Bookbinding HOWTO Step 1: Printing process”

Read the rest of this entry »

Bookbinding HOWTO Step 0: Introduction

This isn’t going to be a technical post for once. Besides computers I do have more mundane hobbies you know. A couple of years back I started bookbinding as a remedy for a particularly stressful month. Manual tasks always seem to have a relaxing effect on me, so it seemed as good choice as any.

Eventually I’ll end up buying an eBook-reader and I guess that will be the end of my bookbinding hobby, but for the time being printing the good books doesn’t seem as a bad choice. I haven’t found a machine that suits my needs and is affordable yet. I recently considered buying the Sony PRS-505, but people on the net are not happy with the zooming options for PDF files. Excellent PDF support is a must, so I’ll just wait for better gadgets to come out.

As I was saying, I had recently downloaded an excellent book in PDF format, Dive into Python by Mark Pilgrim, so it was a good opportunity to get into this bookbinding thing. The book, by the way, is published under the FDL so verbatim copying is allowed. Take a look at the sites if you want to know more about the book. It’s around 300 pages and I really liked the no-nonsense, cut to the chase style. Totally recommended.

Since I like that style so much, let’s cut to the chase. Enough blabbing. The process is totally amateurish, of course, and far from perfect. But after some trial and error and several refinements over time, I believe the final result is quite satisfactory.

Click to continue reading “Bookbinding HOWTO Step 0: Introduction”

Read the rest of this entry »