SHARE
TWEET

Untitled

a guest Sep 6th, 2019 94 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. janelaPrint.webContents.print(
  2.         {
  3.             silent: true,
  4.             printBackground: false,
  5.             deviceName: impressora
  6.         },
  7.         (err, outro) => {
  8.             if (err) {
  9.                 //But, if my printer stoped, the job is send for manager windows printer tool.
  10.                 //I need controll the jobs for printer (cancel, re-start, delete).
  11.                 //I'm using OS windows
  12.             }
  13.             janelaPrint.close();
  14.             janelaPrint = null;
  15.         }
  16.     );
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top