From 932e04d91f392f0ce55ddbe3bdabd07b78a68847 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 5 Jun 2017 12:46:50 -0400 Subject: fix curl --- lib/awprint/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/awprint/index.js') diff --git a/lib/awprint/index.js b/lib/awprint/index.js index c718828..6e0b012 100644 --- a/lib/awprint/index.js +++ b/lib/awprint/index.js @@ -71,7 +71,7 @@ function AWPrint (options) { Print.findOne({ _id: req.body._id }).then( (job) => { job.printed = true - var cmd = 'curl ' + job.url + ' | lpr -P ARMORYHPM553 -o page-top=28' + var cmd = 'curl ' + job.url + ' | lpr -P ARMORYHPM553 -o page-top=28 -o page-left=23 -o page-right=23 -o page-bottom=0 -o media=a4' console.log(cmd) exec(cmd, function(error, stdout, stderr) { console.log('ok') -- cgit v1.2.3-70-g09d2