You can get the contents of rendered template like this:
unicode(render.my_template())  then save it and use as input to
html2pdf

On Nov 9, 1:55 pm, megha <megha.vishwan...@gmail.com> wrote:
> Hi,
>
> Is there a way in web.py to write the html response (using template,
> style and javascript, that's used for display) as HTML to a file
> stream, so I can use the html to then generate a pdf with html2pdf?
>
> Does Application.browser() help? What's this method for?
>
> Looking forward to a response,
>
> Thanks,
> -Megha

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to webpy@googlegroups.com.
To unsubscribe from this group, send email to 
webpy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to