[reportlab-users] Subject: Clean way to getpdfdata for a platypus document

Jean-Francois Gosset jfg at netinfo.fr
Thu Dec 9 05:24:50 EST 2004


Hi all,

I want to get pdf raw data for a platypus document (in order to send it in 
response of an HTTP request).

The only way I found is :

myDocTemplate._doSave = 0
myDocTemplate.build(
    flowables = myStory)
pdfdata = docTemplate.canv.getpdfdata()

Is this correct or only an undocumented workaround ?

Thank's





More information about the reportlab-users mailing list