This commit is contained in:
loicbersier 2018-11-21 02:21:19 +01:00
parent 4cee009d22
commit 72e132643e

View file

@ -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 )")
}
};