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


Groups > comp.lang.python > #45300

Re: PDF generator decision

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx05.eternal-september.org!.POSTED!not-for-mail
From Frank Miles <fpm@u.washington.edu>
Newsgroups comp.lang.python
Subject Re: PDF generator decision
Date Tue, 14 May 2013 15:21:36 +0000 (UTC)
Organization A noiseless patient Spider
Lines 25
Message-ID <kmtkq0$sdo$1@dont-email.me> (permalink)
References <3f4500ad-784a-401d-a089-e2b7081821e9@googlegroups.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding 8bit
Injection-Date Tue, 14 May 2013 15:21:36 +0000 (UTC)
Injection-Info mx05.eternal-september.org; posting-host="f1a0fcf69c1b9c332f70be419d503aef"; logging-data="29112"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18UjhfDUDWbnXkNqa2rLoH08mbFenUbn4M="
User-Agent Pan/0.133 (House of Butterflies)
Cancel-Lock sha1:uMBsIcW4qSMCLHNo+pUVBgjUuaY=
Xref csiph.com comp.lang.python:45300

Show key headers only | View raw


On Tue, 14 May 2013 08:05:53 -0700, Christian Jurk wrote:

> 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

Reportlab works well in Python 2.x.  Their _next_ version is supposed to 
work with Python3... {yes, not much help there}

Back to comp.lang.python | Previous | NextPrevious in thread | Next 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