[reportlab-users] txt2pdf

Dinu Gherman gherman at darwin.in-berlin.de
Tue Feb 13 05:01:31 EST 2007


Carl Karsten:


> I am trying to make a little txt2pdf example program, ideally about as

> simple as

> the HelloWorld.py - Below is my attempt that does not deal with CR's

> 'right.'

>

> I see http://www.reportlab.org/devfaq.html#2.3.2 that I could proably

> make work,

> but am hoping for something much simpler to demo how easy it is to

> glue things

> together with python. 50+ lines starts to loose the "it's easy" look.


Well, how about 20 lines, then? See attachment...

Also, see reportlab/tools/py2pdf for a version of txt2pdf
"on steroids", that could likely be recoded with much less
code today using Platypus.

Regards,

Dinu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: txt2pdf.py
Type: application/octet-stream
Size: 823 bytes
Desc: not available
Url : http://two.pairlist.net/pipermail/reportlab-users/attachments/20070213/80c61e82/attachment.obj
-------------- next part --------------


-------------- next part --------------
A non-text attachment was scrubbed...
Name: txt2pdf.pdf
Type: application/pdf
Size: 2508 bytes
Desc: not available
Url : http://two.pairlist.net/pipermail/reportlab-users/attachments/20070213/80c61e82/attachment.pdf
-------------- next part --------------



More information about the reportlab-users mailing list