5 ms·
How does one go about creating (and sending) a PDF from a web form (like Invoice-o-matic and billable.me)?
by blasphymous 13y ago
How does one go about creating (and sending) a PDF from a web form (like Invoice-o-matic and billable.me)?
- nsomaru 13y agoI would take POST data, and plug it into a templating system (like Django's), which is using something like LaTeX to define the basic properties of the document and populating with data and logic from Django. Basically a mix of two markups in one file. Meh, there's probably a better way to do that.
- X4 13y agoEh, easy. http://jspdf.com/ http://jspdf.com/ You can create a file with javascript at the client side, without creating load on the server.