[reportlab-users] How to change file save location

Robin Becker robin at reportlab.com
Thu Jul 28 11:31:46 EDT 2005


Josh Pearce wrote:
> Forgive me if this is a double post, but I didn't
> recieve any conformation of my post.  Can someone
> please tell me how to change the location that
> reportlab saves PDF's too. I've looked in the docs,
> list archives, and google.
> 
> Thanks,
> 
> Josh Pearce
> 
.... how are you generating PDF?

with a direct writer you need to alter the Canvas filename value

eg canv=Canvas('mypath.pdf',.....)

with platypus the BaseDoctemplate class also has a filename argument



-- 
Robin Becker


More information about the reportlab-users mailing list