This commit is contained in:
parent
72e132643e
commit
2ad0779145
1 changed files with 2 additions and 2 deletions
|
@ -26,9 +26,9 @@ 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! ( if everything have gone correctly )")
|
message.say("Printing now!")
|
||||||
}
|
}
|
||||||
, error:function(err){console.log(err);}
|
, error:function(err){console.log(err); message.say("An error has occured, the printer is most likely disconnectd try again later")}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
Loading…
Reference in a new issue