Open sontek opened 5 years ago
Describe the bug When I try to list printers the promise errors out:
https://i.imgur.com/zZN0riy.png
To Reproduce
https://github.com/agracio/electron-edge-js-quick-start
Modify renderer.js inside the window.onload to do this:
const printer = require('node-native-printer'); const printers = printer.listPrinters(); console.log("==== printers", printers); printers.then((result) => { console.log("=== printer result", result); });
Run the code, you'll hit the error I included in the screenshot above.
See error
Expected behavior I should be able to list printers in electron + Windows 10
OS
I think System.Drawing.Common is not included in .NET Core and it should be a nuget dependency on the build of node-native-printer if core is used
System.Drawing.Common
node-native-printer
Describe the bug When I try to list printers the promise errors out:
https://i.imgur.com/zZN0riy.png
To Reproduce
https://github.com/agracio/electron-edge-js-quick-start
Modify renderer.js inside the window.onload to do this:
Run the code, you'll hit the error I included in the screenshot above.
See error
Expected behavior I should be able to list printers in electron + Windows 10
OS