node-foxit-print

0.1.3 • Public • Published

Node-Foxit-Reader-Printer

Just send pdf files to default printer

Only Windows support =(

Install

npm i node-foxit-print --save

Using

var print = require('node-foxit-print').print;

print('../myFile.pdf', 'C:/Program Files (x86)/Foxit Software/Foxit Reader/Foxit Reader.exe', function (err, res) {
    //Some stuff
});

You can use toPDF API to generate pdf files by wkhtmltopdf

var print = require('node-foxit-print').toPDF;

print('http://wkhtmltopdf.org/', 'C:/Print/wkhtmltopdf/bin/wkhtmltopdf.exe', '../myFile.pdf', function (err, res) {
    //Some stuff
});

Package Sidebar

Install

npm i node-foxit-print

Weekly Downloads

2

Version

0.1.3

License

MIT

Last publish

Collaborators

  • ya-kostik