[reportlab-users] PDF without file

Andy Robinson andy at reportlab.com
Fri May 26 05:43:35 EDT 2006


Michael Hipp wrote:
> I'm new to ReportLab and trying to get my brain around it...
> 
> Can it produce a pdf as a pure in-memory item and then print it without going to a file first?
> 
> This would be from a wxPython app.

Yes, pass a CStringIO or other file like object to the filename argument 
either when constructing a canvas or a doctemplate, and it will put the 
file in that.

- Andy


More information about the reportlab-users mailing list