Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » Django
  • » Easy PDF generation using PISA HTML2PDF [RSS Feed]

#1 March 23, 2008 22:26:18

c.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Easy PDF generation using PISA HTML2PDF


Thanks !
Easier than reportlab :)
Greg

On Mar 23, 7:37 pm, ""
<> wrote:
> Hi,
>
> I updated pisa which now includes a complete Django example.
>
>http://pypi.python.org/pypi/pisa/3.0.17>
> Enjoy it.
> Dirk
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en-~----------~----~----~----~------~----~------~--~---

Offline

#2 March 24, 2008 12:01:10

s.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Easy PDF generation using PISA HTML2PDF


I have used html2pdf in the past and it is awfully easy! In one of my
apps, I had a requirement that each page be also available as pdf.
so

def view_func(self):
..normal processing
if request.GET.has_key('pdf'):
#Get the pdf template
html = StringIO.StringIO(template.render(Context(payload)))
result = StringIO.StringIO()
pdf = pisa.CreatePDF(html, result)
return HttpResponse(result.getvalue(), mimetype='application/
pdf')

On Mar 24, 2:25 am, coulix <> wrote:
> Thanks !
> Easier than reportlab :)
> Greg
>
> On Mar 23, 7:37 pm, ""
>
> <> wrote:
> > Hi,
>
> > I updated pisa which now includes a complete Django example.
>
> >http://pypi.python.org/pypi/pisa/3.0.17>
> > Enjoy it.
> > Dirk
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en-~----------~----~----~----~------~----~------~--~---

Offline

  • Root
  • » Django
  • » Easy PDF generation using PISA HTML2PDF [RSS Feed]

Board footer

Moderator control

Enjoy the 16th of December
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support