[Zope] Generating and Downloading PDF[Solved]

Andreas Jung lists at andreas-jung.com
Fri May 13 12:47:39 EDT 2005



--On Freitag, 13. Mai 2005 13:43 Uhr -0300 Fernando Lujan 
<flujan at gmail.com> wrote:

>
> This was the best solution that I could thought, once reportlab didn't
> create PDF "on the fly", without writing in the filesystem.

You could use cStringIO for writing the file in memory but in reality it 
really
does not matter from the point of speed. Using a file offers you the 
possibility
to emit it through a FileStreamIterator. This avoids that you need to load 
the file
as a whole into the memory.

-aj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope/attachments/20050513/94dd031e/attachment.bin


More information about the Zope mailing list