I need to create a PDF file on the client side using JavaScript. How do I do that?
jsPDF is an open-source library for generating PDF documents using nothing but Javascript
Martin Milan
JSPDF should be all you need...
Use a web service that converts HTML pages to PDF, e.g. PDF Download
来源:https://stackoverflow.com/questions/5029238/can-anyone-tell-me-that-is-it-possible-to-generate-pdf-files-using-javascript