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 ple

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 prin