forked from Supositware/Haha-Yes
This commit is contained in:
parent
4cee009d22
commit
72e132643e
1 changed files with 2 additions and 3 deletions
|
@ -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 )")
|
||||
}
|
||||
};
|
Loading…
Reference in a new issue