thanks, and here it is a part of my code, i do not know what to write
in to me return.


def makepdf():
    from reportlab.pdfgen import canvas
    import gluon.contrib.pyrtf as q
    c=canvas.Canvas("/home/.../primer.pdf")
    c.drawString(150,400, "REPORTLAB")
    c.showPage()
    c.save()
    response.headers['Content-Type']='application/pdf'
    response.headers['Content-Disposition'] =
'attachment;filename=solicitud.pdf'
    return c


Álvaro Justen [ Turicas ] ha escrito:
> On Wed, Jul 1, 2009 at 17:20, __Kyo__<[email protected]> wrote:
> > I have been looking for ways to create reports in PDF using reportlab,
> > I can create pdf but I can not do to be saved. How can you do with an
> > RTF file or csv. Thanks in advance.
>
> Hi,
> in one of web systems that I'm creating am using Pisa (that uses
> ReportLab) to transform some HTML templates in PDF reports.
> What is the exact error that you get? What you can't do? Please paste
> some code, detail more the problem etc.
>
> --
>  Álvaro Justen
>  Peta5 - Telecomunicações e Software Livre
>  21 3021-6001 / 9898-0141
>  http://www.peta5.com.br/
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to