Nanobot: Polygonal Mascot
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

print-url

1.0.4 • Public • Published

print-url

Given a URL, fetch the contents of URL, convert to PDF then print with LP.

install

npm install print-url

example

var printUrl = require('print-url');
 
printUrl('http://mysite.com/partner/invoice/12345.html', function (err, jobid) {
    if (err) {
        return console.log('Error encountered', err);
    }
 
    console.log('Job queued for printing', jobid);
});

license

MIT

install

npm i print-url

Downloadsweekly downloads

1

version

1.0.4

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability