Re: Transaction support on MySQL
Evan wrote:
Unless you want to generate PDF or Postscript files on the fly, you are *not* going to get what you want from a browser-based application, regardless of the server. Neither Zope nor any other Web App can control how your browser will print an HTML page (AFAIK).
There is a PDF package for Perl, but I don't know of any for Python. If there are, then you can relatively easily generate PDF on the fly. Another option is to use Flash; although I'm not sure you can control the size very well, you can control the relative position very well, and Flash 4 can even get data dynamically from the server so the Flash file can remain the same while the data it shows can easily be changed. It would be cool if someone developed a system that used PDF or Flash instead of HTML as the default presentation format, but that got all the data from (text) objects in Zope. Both PDF and Flash support hyperlinks, so it should be doable. Bye, -- Bjorn Stabell <bjorn@stabell.priv.no>
On Mon, 27 Sep 1999, Bjorn Stabell wrote:
Evan wrote:
Unless you want to generate PDF or Postscript files on the fly, you are *not* going to get what you want from a browser-based application, regardless of the server. Neither Zope nor any other Web App can control how your browser will print an HTML page (AFAIK).
There is a PDF package for Perl, but I don't know of any for Python. If there are, then you can relatively easily generate PDF on the fly.
I have a dynamic PDF generation library and a minimal html to PDF conversion script (enough to support Structured Text) all written in Python. No table support yet. You can get it from: http://starship.python.net/crew/pavlos/ It was originally intended to provide PDF support for Zope but it is a bit slow, unless some caching scheme is used. There is one more PDF library for python by Andy Robinson but I do not remember the URL. Pavlos
Bjorn Stabell wrote:
Another option is to use Flash; although I'm not sure you can control the size very well, you can control the relative position very well, and Flash 4 can even get data dynamically from the server so the Flash file can remain the same while the data it shows can easily be changed.
It would be cool if someone developed a system that used PDF or Flash instead of HTML as the default presentation format, but that got all the data from (text) objects in Zope. Both PDF and Flash support hyperlinks, so it should be doable.
Yeah! When I first read the feature list for Flash 4, I was impressed, but couldn't think what we would really want to use it for. A Flash interface to Zope would be cool to hold us over until the Mozilla thing comes together :-)
At 03:17 27/09/99 , Bjorn Stabell wrote:
Evan wrote:
Unless you want to generate PDF or Postscript files on the fly, you are *not* going to get what you want from a browser-based application, regardless of the server. Neither Zope nor any other Web App can control how your browser will print an HTML page (AFAIK).
There is a PDF package for Perl, but I don't know of any for Python. If there are, then you can relatively easily generate PDF on the fly.
There is an excelent library at: http://www.pdflib.com/ that comes with a Python interface. It has a pricetag for commercial use however. -- Martijn Pieters, Web Developer | Antraciet http://www.antraciet.nl | Tel: +31-35-7502100 Fax: +31-35-7502111 | mailto:mj@antraciet.nl http://www.antraciet.nl/~mj | PGP: http://wwwkeys.nl.pgp.net:11371/pks/lookup?op=get&search=0xA8A32149 ------------------------------------------
participants (4)
-
Bjorn Stabell -
Evan Simpson -
Martijn Pieters -
Pavlos Christoforou