Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #45297

PDF generator decision

Newsgroups comp.lang.python
Date 2013-05-14 08:05 -0700
Message-ID <3f4500ad-784a-401d-a089-e2b7081821e9@googlegroups.com> (permalink)
Subject PDF generator decision
From Christian Jurk <commx@commx.ws>

Show all headers | View raw


Hi folks,

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 [1] 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 (3)? 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).

Any advice is welcome. Thanks.

[1] https://github.com/chrisglass/xhtml2pdf

Back to comp.lang.python | Previous | NextNext in thread | Find similar | Unroll thread


Thread

PDF generator decision Christian Jurk <commx@commx.ws> - 2013-05-14 08:05 -0700
  Re: PDF generator decision Frank Miles <fpm@u.washington.edu> - 2013-05-14 15:21 +0000
  Re: PDF generator decision jmfauth <wxjmfauth@gmail.com> - 2013-05-14 10:36 -0700
  Re: PDF generator decision dieter <dieter@handshake.de> - 2013-05-15 08:22 +0200
  RE: PDF generator decision Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-15 09:48 +0300

csiph-web