XHTML2PDF is an open source Python library to generate PDF documents from HTML. It supports advanced page layout, images & tables rendering, adding custom fonts, headers/footers and so on....command-line interface, custom PDF-specific tags, advanced page layout...support the entire CSS specification and does not execute JavaScript...