[reportlab-users] html2pdf or some template to create pdf

Tim Roberts timr at probo.com
Tue Oct 24 13:05:17 EDT 2006


jose wrote:

>
> I like this reportlab, but the productivity is very, very slow.
> I spent about one day to write a script to create an invoice with
> reportlab.
> I would like to know if somebody has created some
> tool to convert from html or another format to pdf using reportlab.
> There is an interesting tool on http://www.digitaljunkies.ca/dompdf
> unfortunately it is for PHP.


I think Andy is quite right.  For me, the point of ReportLab is not
"rapid report generation".  Instead, it is "precise control over report
generation".  I use ReportLab because I can control the results down to
a thousandth of a point, and it looks the same everywhere.  That's
important to me.  But getting that precise look takes time.  I'm willing
to take the time, because I care deeply about how my output looks.

On the other hand, I have certainly had occasions where I needed a quick
report, where precise formatting wasn't so important.  In that case,
HTML provides a very good solution all by itself.  I have said before
that HTML is only two or three tags away from being the perfect
reporting mechanism.

The wxPython package includes a class called wxHtmlEasyPrinting that is
designed specifically for this.  Basic and quick.  Not a lot of options,
but sometimes that's exactly what you want.

-- 
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.



More information about the reportlab-users mailing list