Render a PDF from html using xhtml2pdf and mimerender in Flask
I’m working on invoice/receipt generation for Close.io and wanted to create simple PDFs using nothing but HTML.
Using Flask, mimerender, and xhtml2pdf, here’s how:
I’m working on invoice/receipt generation for Close.io and wanted to create simple PDFs using nothing but HTML.
Using Flask, mimerender, and xhtml2pdf, here’s how:
endrit said,
January 16, 2015 @ 9:28 am
how can I generate and render pdf in a pluggable class view ??
thanks in advance