Open okilled opened 4 years ago
The printer keeps showing that it is printing when printing pictures, Do you need to set the type attribute?
var fs = require('fs'); printer.printDirect({ data: fs.readFileSync('C:\\Users\\baiyuhang\\test.png'), success: function(jobID){ console.log("sent to printer with ID: "+jobID); }, error: function(err){ console.log(err); } });
node-printer Version: 0.4.0
Node Version: 10.9.0
Platform: Windows 7 64bit
What happens?
The printer keeps showing that it is printing when printing pictures, Do you need to set the type attribute?
How To Reproduce
Context
node-printer Version: 0.4.0
Node Version: 10.9.0
Platform: Windows 7 64bit