[Zope] Zope and PDF

Steve Alexander steve@cat-box.net
Thu, 18 Oct 2001 11:20:07 +0100


Tom Deprez wrote:

> Steve,
> 
> Just a question: Do you make an html/xml page and let reportlab translate it
> or do you make 2 converters.
> eg for instance you query across a zsqlmethod and display it in html
> and for the pdf file, you interate across the same zsqlmethod but create
> reportlad code.
>
> or
> 
> do you query across a zsqlmethod and display it in html and then the pdf
> file is created from that page.

In the case you describe, I would take the former route.

The application I'm using Zope and ReportLab for isn't like this though.
I'm generating detailed multi-page PDF reports from data in the ZODB.
I'm generating entirely different reports in HTML.

--
Steve Alexander
Software Engineer
Cat-Box limited