Generating PDF’s using Javascript

Stumbled across this code to generate PDF’s clientside using Javascript.

It works, although it didn’t work in Firefox 3 correctly, perfectly in Google Chrome though. The idea is pretty awesome though, I wonder what other formats could be created this way… Going to keep an eye on this project and see how it develops, could be useful perhaps for a site where server side PDF generation is not available or not possible?