Re: Convertingg rendered Model Data in HTML to PDF USING XHTML2PDF

2019-04-18 Thread Irfan Khan
thanks for your response Matthew Pava 

Not Exactly getting using xhtml2pdf for converting model data rendered in 
html to pdf 

i have browsed but not exactly getting, can any one please guide me, 



On Thursday, 18 April 2019 20:18:59 UTC+5:30, Irfan Khan wrote:
>
> hi, all
> can any one please guide me how to covert the rendered data from models in 
> html to pdf 
>
> for example i have developed application and in that implemented search 
> field to get the data from the database,till now it now fine but i have 
> used xhtml2pdf library to convert 
> i can see there only some of context passed in views only converting.
> please guide me how to implement.
>
>

-- 
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/217654ee-67fe-4799-b8d4-e9372b4ca63b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Convertingg rendered Model Data in HTML to PDF USING XHTML2PDF

2019-04-18 Thread Matthew Pava
We use Google’s Puppeteer in Node.js.
I use the URL of the HTML page to convert as a GET parameter to the PDF 
generator view.
The PDF generator view then uses subprocess.Popen to run the Node.js script 
that prints that HTML as a PDF page.
As icing on the cake, the user can also automatically print the PDF to a 
printer close by to them on the network.

From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On 
Behalf Of Irfan Khan
Sent: Thursday, April 18, 2019 9:49 AM
To: Django users
Subject: Convertingg rendered Model Data in HTML to PDF USING XHTML2PDF

hi, all
can any one please guide me how to covert the rendered data from models in html 
to pdf

for example i have developed application and in that implemented search field 
to get the data from the database,till now it now fine but i have used 
xhtml2pdf library to convert
i can see there only some of context passed in views only converting.
please guide me how to implement.

--
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/03530d36-a49f-40ec-b623-dee9138387e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d06d0060aabb4bbaacbd8869032285ee%40iss2.ISS.LOCAL.
For more options, visit https://groups.google.com/d/optout.