This questions may be asked several times already, but the development of relevant software continues day-for-day. For some time now I've been using xhtml2pdf ( https://github.com/chrisglass/xhtml2pdf ) to generate PDF documents from HTML templates (which are rendered through my Django-based web application. This have been working for some time now but I'm constantly adding new templates and they are not looking like I want it (sometimes bold text is bold, sometimes not, layout issues, etc). I'd like to use something else than xhtml2pdf.
So far I'd like to ask which is the (probably) best way to create PDFs in Python? It is important for me that I am able to specify not only background graphics, paragaphs, tables and so on but also to specify page headers/footers. The reason is that I have a bunch of documents to be generated (including Invoice templates, Quotes - stuff like that).