I’m a python newbie trying to build my first app with Google App Engine (and Python) that save time when you need to write a form contract (like a house rental or car rental contract (link: http://contractpy.appspot.com ).
I’d like to know what is the best and simplest way to export the final output (at the moment, an HTML page) to a pdf, odt or googledoc file. In other words: instead of copying and pasting, the user gets what he wants: the contract file ready to print.
This is the current state of the output (a sample):
But I’d like to get something like this:
https://docs.google.com/open?id=0B8TXLR_e14aCeVVfZVZGdUVNUEE
How could I get this?
Thanks in advance for any help!!
You need to render an html file with some paged media tags. for example:
than convert it with Conversion API and serve the output file