Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- janelaPrint.webContents.print(
- {
- silent: true,
- printBackground: false,
- deviceName: impressora
- },
- (err, outro) => {
- if (err) {
- //But, if my printer stoped, the job is send for manager windows printer tool.
- //I need controll the jobs for printer (cancel, re-start, delete).
- //I'm using OS windows
- }
- janelaPrint.close();
- janelaPrint = null;
- }
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement