1.0.5 • Published 3 years ago

print-url v1.0.5

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

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

1.0.5

3 years ago

1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

10 years ago

1.0.1

10 years ago