Generating PDFs


#1

I’ve started building a basic app with Ember/Ember Data front, and a Sails/Node back.

Data will of course be presented in the app, but I’m looking to generate a pdf from the data for the user to save/print. Never done this before. I’ve just seen PDF Kit. Anyone have any advice/recommendations? Anything work particularly well within the Ember environment?

Thanks


#2

Most browsers already support, “Save as PDF” under printing. That along with media queries targeting print seems to be all you would need.


#3

And when you really want to generate PDFs with Javascript you could use some of these libraries:

https://www.google.de/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=js+generate+pdf


And check this article:

best regards rocki