Mitul Dabhi
answered Nov 30 '-1 00:00
html-to-pdf
A Node wrapper around a Java HTML to PDF converter to allow users to make HTML templates for automated generation of PDFs.
htmlToPdf.convertHTMLFile('path/to/source.html', 'path/to/destination.pdf',
function (error, success) {
if (error) {
console.log('Oh noes! Errorz!');
console.log(error);
} else {
console.log('Woot! Success!');
console.log(success);
}
}
);
====
continuum/html_to_pdf
Wrapper gem to a set of java libraries that allow to convert from html to pdf
$ html_to_pdf -htmlfile /path/to/file.html -pdffile /path/to/file.pdf
i did not used any of this , but i am giving suggestion only . if you dont find useful let me know