Since I'm using Windows, I had to read up on how to use CALIBRE_DEVELOP_FROM before I could work around it. For other Calibre newbies (and those who just want to *use* Calibre), here's how to work-around this issue:
- Download calibre source from http://sourceforge.net/projects/cali...ar.gz/download
- Unpack the file (using a tool such as 7-zip).
- Move the "src" folder from where you unpacked the source into "C:\Program Files\Calibre" (assuming that you installed Calibre into "C:\Program Files\Calibre").
- Set the CALIBRE_DEVELOP_FROM environment variable to "C:\Program Files\Calibre\src"
- Edit C:\Program Files\Calibre\src\calibre\ebooks\pdf\writer.py
- Change the line which says "printer = self.get_printer()" to say "printer = get_pdf_printer(self.opts)"
- Run calibre