Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder2.enfer-du-nord.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.037 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'args': 0.07; 'suppose': 0.07; 'arguments,': 0.09; 'instances.': 0.09; 'that).': 0.09; 'python': 0.11; 'args,': 0.16; 'subject:generator': 0.16; 'wed,': 0.18; 'passing': 0.19; 'to:name:python-list@python.org': 0.22; 'received:65.55.116': 0.24; 'specify': 0.24; '+0200': 0.26; 'tables': 0.26; 'header:In-Reply-To:1': 0.27; 'to:2**1': 0.27; 'tried': 0.27; 'skip:- 40': 0.29; '[1]': 0.29; 'especially': 0.30; 'url:mailman': 0.30; 'bunch': 0.31; 'quotes': 0.31; 'writes:': 0.31; 'stuff': 0.32; '(including': 0.33; 'url:python': 0.33; 'date:': 0.34; "i'd": 0.34; 'classes': 0.35; 'but': 0.35; 'templates': 0.36; 'url:listinfo': 0.36; 'url:org': 0.36; 'invoice': 0.37; 'email addr:python.org': 0.37; 'christian': 0.38; 'generic': 0.38; 'to:addr:python-list': 0.38; 'subject:': 0.39; 'pdf': 0.39; 'to:addr:python.org': 0.39; 'url:mail': 0.40; 'applicable': 0.60; 'range': 0.61; 'high': 0.63; 're:': 0.63; 'email name:python-list': 0.65; 'containing': 0.69; 'quality': 0.72; 'pdfs': 0.84; '2013': 0.98 X-TMN: [vp8bo6OjJbuGbBLAcn3CveW86duMMHjP] X-Originating-Email: [carlosnepomuceno@outlook.com] From: Carlos Nepomuceno To: dieter , "python-list@python.org" Subject: RE: PDF generator decision Date: Wed, 15 May 2013 09:48:33 +0300 Importance: Normal In-Reply-To: <877gj0vk2m.fsf@handshake.de> References: <3f4500ad-784a-401d-a089-e2b7081821e9@googlegroups.com>, <877gj0vk2m.fsf@handshake.de> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 15 May 2013 06:48:33.0900 (UTC) FILETIME=[37F2CAC0:01CE5138] X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 38 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1368600582 news.xs4all.nl 16000 [2001:888:2000:d::a6]:37567 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:45327 Christian=2C have you tried pod[1]? You can use create templates in OpenDoc= ument format and then create the PDFs just passing the arguments=2C like:= =0A= =0A= args =3D {'name':'John'=2C 'email':'john@example.com'}=0A= renderer =3D Renderer('template.odt'=2C args=2C 'result.odt')renderer.run()= =0A= =0A= =0A= =0A= [1] http://appyframework.org/pod.html=0A= =0A= ----------------------------------------=0A= > To: python-list@python.org=0A= > From: dieter@handshake.de=0A= > Subject: Re: PDF generator decision=0A= > Date: Wed=2C 15 May 2013 08:22:25 +0200=0A= >=0A= > Christian Jurk writes:=0A= >=0A= >> ...=0A= >> So far I'd like to ask which is the (probably) best way to create PDFs i= n Python (3)? It is important for me that I am able to specify not only bac= kground graphics=2C paragaphs=2C tables and so on but also to specify page = headers/footers. The reason is that I have a bunch of documents to be gener= ated (including Invoice templates=2C Quotes - stuff like that).=0A= >=0A= > High quality layouts=2C especially those containing (potentially complex= =0A= > tables)=2C are very difficult to generate automatically.=0A= >=0A= > I do not suppose that you will find a generic solution - one applicable= =0A= > to a wide range of document classes and garanteeing high quality=0A= > layout for almost all of its document instances.=0A= >=0A= > --=0A= > http://mail.python.org/mailman/listinfo/python-list =