This commit is contained in:
Loic Bersier 2018-11-22 20:12:16 +01:00
parent 72e89e64aa
commit 1adbef7954

View file

@ -27,7 +27,7 @@ module.exports = class printCommand extends Command {
, type: 'TEXT' // type: RAW, TEXT, PDF, JPEG, .. depends on platform , type: 'TEXT' // type: RAW, TEXT, PDF, JPEG, .. depends on platform
, success:function(jobID){ , success:function(jobID){
console.log("sent to printer with ID: "+jobID); console.log("sent to printer with ID: "+jobID);
message.say("Printing now!") message.say("Printing now! ( ask with 'haha feedback <text>' if you want to see it !)")
} }
, error:function(err){console.log(err); message.say("An error has occured, the printer is most likely disconnected, try again later")} , error:function(err){console.log(err); message.say("An error has occured, the printer is most likely disconnected, try again later")}
}); });