summaryrefslogtreecommitdiff
path: root/lib/awprint/index.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-06-05 12:46:50 -0400
committerJules Laplace <julescarbon@gmail.com>2017-06-05 12:46:50 -0400
commit932e04d91f392f0ce55ddbe3bdabd07b78a68847 (patch)
tree3fb64773d4e94470cf9008423db505ce9abb11e3 /lib/awprint/index.js
parent5630dd6b2f90ec36a3e6b0f1d1c0532b36396b4b (diff)
fix curl
Diffstat (limited to 'lib/awprint/index.js')
-rw-r--r--lib/awprint/index.js2
1 files changed, 1 insertions, 1 deletions
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')