Newbie: Creating PDF Documents on the fly in Zope
I have a few pages in Zope generating info gained from an Interbase DB. The pages are fine, except we also want a user to be able to click a button on these pages and generate a PDF document for printing, looking pretty much the same but with all the necessary page breaks and associated headers/footers. I have looked around, and there are a couple of products that look promising, mostly so PIDDLE. Being a complete newbie to Zope, though, I really don't know where to start with it. I read that SPING was a product designed for such things, and extracted that into products. It appears as a product in Zope, but it is basically empty. There don't appear to be any documents designed for idiots, so I'm hoping someone out there can help me .. ?!? Info on the Zope version I'm running: Zope Version (Zope 2.5.1 (binary release, python 2.1, win32-x86), python 2.1.3, win32) Python Version 2.1.3 (#35, Apr 8 2002, 17:47:50) [MSC 32 bit (Intel)] System Platform win32 TIA Ashley _________________________________________________________________ Use MSN Messenger to send music and pics to your friends http://messenger.msn.co.uk
On Thu, Feb 06, 2003 at 09:29:22AM +0000, Ashley Lloyd wrote:
I have a few pages in Zope generating info gained from an Interbase DB. The pages are fine, except we also want a user to be able to click a button on these pages and generate a PDF document for printing, looking pretty much the same but with all the necessary page breaks and associated headers/footers.
I suggest you download ReportLab from http://www.reportlab.com It includes a demo to create PDF documents from a Zope External Method. Alternatively you can use Dirk Datzert's ZRenderPM (IIRC) Zope Product which uses ReportLab but is higher level than the demo I talk above. bye, Jerome Alet
At 10:40 2003-02-06 +0100, Jerome Alet wrote:
On Thu, Feb 06, 2003 at 09:29:22AM +0000, Ashley Lloyd wrote:
I have a few pages in Zope generating info gained from an Interbase DB.
The
pages are fine, except we also want a user to be able to click a button on these pages and generate a PDF document for printing, looking pretty much the same but with all the necessary page breaks and associated headers/footers.
I suggest you download ReportLab from http://www.reportlab.com
It includes a demo to create PDF documents from a Zope External Method.
Alternatively you can use Dirk Datzert's ZRenderPM (IIRC) Zope Product which uses ReportLab but is higher level than the demo I talk above.
ZRenderPM ? What is that? Can't find it on either Zope.org or google.
bye,
Jerome Alet
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
--On 06 February 2003 09:29 +0000 Ashley Lloyd <ashleylloyd@hotmail.com> wrote:
I have a few pages in Zope generating info gained from an Interbase DB. The pages are fine, except we also want a user to be able to click a button on these pages and generate a PDF document for printing, looking pretty much the same but with all the necessary page breaks and associated headers/footers.
I have looked around, and there are a couple of products that look promising, mostly so PIDDLE.
We have a project underway in this area. We seem spoilt for choice as there are many options. See <http://www.bris.ac.uk/is/projects/pdf> for a long list. Paul -- The Library, Tyndall Avenue, Univ. of Bristol, Bristol, BS8 1TJ, UK E-mail: paul.browning@bristol.ac.uk URL: http://www.bris.ac.uk/
participants (4)
-
Ashley Lloyd -
Jerome Alet -
Paul Browning -
Peter Bengtsson