Dynamically Generated PDFs… with JavaScript?
April 24th, 2009
No comments
In the “it-had-to-be-done-at-some-point” category, we give you James Hall’s latest project:
I have started working on jsPDF, an entirely Javascript-based PDF generator. Currently the demo serves up the generated PDF as a Data URI, but it could be used on the server side or within browser extensions. It currently only supports simple text, but I’m working on images and font embedding at the moment.
If you’re using Safari, Opera, or Firefox 3.5 Beta, the demo is pretty cool; the client-side JavaScript code generates a data URL which the browser displays.
Neat.