I’ve been looking into this for a while, but the closest thing I’ve come up with is .toDataUrl(), which seems to only be used for bitmap image formats. What I really need is to be able to save the canvas contents to a pdf, and be able to specify page breaks where appropriate. Is there a function in javascript to do so, or will I have to do this with an apache command line tool?
Share
try pdf.js….idk if it’ll work with canvas off the bat, but worth a looksie
http://badassjs.com/post/708922912/pdf-js-create-pdfs-in-javascript
GitHub Link