My post of Friday, 7th July 2006 (with the subject "Publish ODBC database content as PDF") has a problem in the code included with the post:
The source indentation - tabs - is removed in the blog post, by
the LiveJournal software. You will need to insert them at the
appropriate places, for which you will need to know Python and
be able to figure out / understand the code, at least the overall logic.
I'll post the code as a zip file (with some other samples) on one of my sites,
and then put a link to it here.