|
|
@ -26,10 +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 )")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
, error:function(err){console.log(err);}
|
|
|
|
, error:function(err){console.log(err);}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
message.say("Printing now! ( if everything have gone correctly )")
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
};
|