Thank you Peter, I will try and let you know
On Tuesday, November 20, 2012 4:09:44 AM UTC-6, peter wrote:
>
> Okay, now I am understanding what you are after Paul.
>
> Try this
>
>     pdf.output(name=request.folder+'/static/temp.pdf')
>     response.headers['Content-Disposition'] = 'attachment; 
> filename=abc.pdf'# to force download as attachment 
> # replace abc with whatever pdf name you want the user to see.
>     response.headers['Content-Type']='application/pdf'
>     return 
> response.stream(open(request.folder+'/static/temp.pdf','rb'),chunk_size=4096) 
>        
>
> Peter
>
> On Tuesday, 20 November 2012 05:57:43 UTC, Paul Rykiel wrote:
>>
>> Greetings...
>>  
>> I am using PYFPDF to create my pdf's ... all is great, but instead of 
>> automatically creating the PDF, I would like the system to prompt the user 
>> to enter the directory where they want the PDF saved to? Can this be done, 
>> this would be a big help.
>>  
>> Thanks in advance for your assistance
>> Regards,
>>  
>>  
>>
>

-- 



Reply via email to