Software Developer and Director living in Leeds.
Links: My Company, jsPDF, Follow me on Twitter
A Firefox extension I am writing needs PDF export. One way of making this work cross-platform would be to implement it in Javascript. So, that’s what I did..
It’s called jsPDF and can generate simple PDF documents using nothing but Javascript. No server-side needed. I’ve also got a few ideas for workarounds in browsers that do not support Data URIs well (I’m looking at you IE).
At the moment, it only does text. I’ve got some hacky code together that puts images into the mix, but I want to experiment a bit first to get it right. You can expect a new version next week. Subscribe to my blog or follow me on twitter and I’ll let you know :)