On Feb 10, 2013 8:11 AM, "Jaimin Patel" <jaimin9...@gmail.com> wrote:
>
> I am trying to generate pdf using django template, also need some support
of javascript code. I have tried PISA, ReportLib and wkhtmltopdf but it
seems that it doesn't wait for Javascript.
>
> Can someone suggest good solution or example?
>
> --
> You received this message because you are subscribed to the Google Groups
"Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

You could send a request using Ajax, to a cgi program on the server, and
include the URL. The program would pull the content and convert to pdf,
then return the URL of the document. If the user has to be authenticated to
view the content, then you would have to pass the authentication key to the
CGI program. You may find something like html2pdf will do the conversion,
there are free and non-free programs available.

Waitman Gobble
San Jose California USA

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to