[reportlab-users] PDF without file
Michael Hipp
michael at hipp.com
Fri May 26 22:32:17 EDT 2006
> From: "Andy Robinson" <andy at reportlab.com>
> 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.
Thanks, looks like that will work perfectly.
Michael
More information about the reportlab-users
mailing list