On Wed, 13 Feb 2002, Juergen R. Plasser / HEXAGON wrote:
Thanks for your helpful example.
it would be more helpful if it worked everywhere... (any help appreciated)
I have some problems including the logo image (I used a gif image). I
should work, my test image is a .gif
always get an error (pdf does not start with '%PDF-') from Mozilla and IE6 and the file is not created. Maybe a PIL problem? I am using Zope 2.5 and PIL 1.1.2 for Python 2.1 on Win2k.
My successful tests were done on : Debian GNU/Linux 3.0 (Woody) Zope 2.4.2 (Debian standard package) Python 2.1.2 (Debian standard package) Mozilla 0.9.7 (Debian standard package) Netscape 4.77 (Debian standard package) Adobe Acrobat Reader 4.05 (Debian standard package) and on the same system, with the help of VMWare (3.0.0 build 1455) : Windows 98 Internet Explorer 5.00.2614.3500 Netscape 6.2 Adobe Acrobat Reader 5.05 Under Windows the pdf file is not opened in the browser window, but Acrobat Reader is launched and the file is read correctly. The same if I save the file then open it later with Acrobat Reader. It works the same whatever browser I use. BTW the script was updated with the help of Robin Becker from the ReportLab team, to take care of installations made in the "Shared" directory, find it at : http://cortex.unice.fr/~jerome/RLfromZope/ hth. Jerome Alet