by iBotPeaches on 3/13/19, 3:03 PM with 3 comments
Started with wkhtmltopdf, then started investigating the SASS industry like DocRaptor and the parent PrinceXML.
Started messing with headless Chrome to just take screenshots of the widgets and combine those images into a PDF, but its quite hacky.
What do people do in situations like this?
by rexpi0 on 3/13/19, 3:17 PM
A few years ago I had success generating WYSIWYG PDFs using HTML5 and the printable classes in CSS Bootstrap (https://getbootstrap.com); in that particular case I used CherryPy (https://cherrypy.org) under IIS and sent the rendered HTML to pdfkit (https://pypi.org/project/pdfkit/) to generate PDFs. That was preferred over relying on the user to print to the page to PDF from their web browser.
by jolmg on 3/13/19, 11:58 PM
by jamespaden on 3/14/19, 5:33 PM