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


Groups > comp.lang.python > #45297

PDF generator decision

X-Received by 10.224.36.66 with SMTP id s2mr21284653qad.6.1368543953793; Tue, 14 May 2013 08:05:53 -0700 (PDT)
X-Received by 10.49.109.34 with SMTP id hp2mr2435538qeb.33.1368543953759; Tue, 14 May 2013 08:05:53 -0700 (PDT)
Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!m7no6119809qam.0!news-out.google.com!y6ni29564qax.0!nntp.google.com!m7no6119803qam.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups comp.lang.python
Date Tue, 14 May 2013 08:05:53 -0700 (PDT)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=2a02:b0:1048:120:4013:ea34:5941:d44f; posting-account=37-ykwoAAADAvLvngoJlr5WMXeMEmjyT
NNTP-Posting-Host 2a02:b0:1048:120:4013:ea34:5941:d44f
User-Agent G2/1.0
MIME-Version 1.0
Message-ID <3f4500ad-784a-401d-a089-e2b7081821e9@googlegroups.com> (permalink)
Subject PDF generator decision
From Christian Jurk <commx@commx.ws>
Injection-Date Tue, 14 May 2013 15:05:53 +0000
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
Xref csiph.com comp.lang.python:45297

Show key headers only | 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