From 72e132643ec1b591984e2d40b85e41d1a1f2fe33 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Wed, 21 Nov 2018 02:21:19 +0100 Subject: [PATCH] --- commands/fun/print.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/commands/fun/print.js b/commands/fun/print.js index bfe7461..61d5824 100644 --- a/commands/fun/print.js +++ b/commands/fun/print.js @@ -25,11 +25,10 @@ module.exports = class printCommand extends Command { printer.printDirect({data:text , type: 'TEXT' // type: RAW, TEXT, PDF, JPEG, .. depends on platform , success:function(jobID){ - console.log("sent to printer with ID: "+jobID); + console.log("sent to printer with ID: "+jobID); + message.say("Printing now! ( if everything have gone correctly )") } , error:function(err){console.log(err);} }); - -message.say("Printing now! ( if everything have gone correctly )") } }; \ No newline at end of file