1

I have had a look at this thread:

How to dynamically generate a pdf from Google's appengine?

I know we can use ReportLab, however, I am not sure how i can give it a HTML file and get a PDF.

Basically, HTML in and PDF out

Community
  • 1
  • 1
demos
  • 2,630
  • 11
  • 35
  • 51

3 Answers3

2

if you can use an external lib, there is xhtml2pdf

Guillaume Lebourgeois
  • 3,796
  • 1
  • 20
  • 23
1

Try this: html-2-pdf.com

It's build in top of: wkhtmltopdf

It's really easy to use it. It's stand-alone so just upload a file on your (Linux) system and you are ready to produce PDFs

Nik Chankov
  • 6,049
  • 1
  • 20
  • 30
  • Awesome! I don't think i can use this in appengine directly though but i am very happy with the rendering engine! the PDF was exactly the same as the web page! nicely done. – demos Jul 28 '10 at 10:15
0

xhtml2pdf states that the source is pure python. you should be able to use this as a module in your application.

Très
  • 794
  • 1
  • 6
  • 15