1I've just written a library called jsPDF which generates PDFs using Javascript alone. It's still very young, and I'll be adding features and bug fixes soon. Also got a few ideas for workarounds in browsers that do not support Data URIs. It's licensed under a liberal MIT license.
2
3I came across this question before I started writing it and thought I'd come back and let you know :)
4
5Generate PDFs in Javascript
6
7Example create a "Hello World" PDF file.
8
9// Default export is a4 paper, portrait, using milimeters for units
10var doc = new jsPDF()
11
12doc.text('Hello world!', 10, 10)
13doc.save('a4.pdf')
14<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.3.5/jspdf.debug.js"></script>