Electron | hell guys, Im trying print on printer default, by when try printer this code, I have this error: "document is not defined"
![A print from Kaufmann's work from 1901 [36] showing schematically the... | Download Scientific Diagram A print from Kaufmann's work from 1901 [36] showing schematically the... | Download Scientific Diagram](https://www.researchgate.net/profile/Grzegorz-Koczan/publication/335926419/figure/fig2/AS:821845200752641@1572954573800/A-print-from-Kaufmanns-work-from-1901-36-showing-schematically-the-electron-trajectory.jpg)
A print from Kaufmann's work from 1901 [36] showing schematically the... | Download Scientific Diagram
![javascript - How to print html/text file using electron webContents.print([options], [callback])? - Stack Overflow javascript - How to print html/text file using electron webContents.print([options], [callback])? - Stack Overflow](https://i.stack.imgur.com/bHden.jpg)
javascript - How to print html/text file using electron webContents.print([options], [callback])? - Stack Overflow
![Only first page prints under Electron 3 using webContents.print() · Issue #14260 · electron/electron · GitHub Only first page prints under Electron 3 using webContents.print() · Issue #14260 · electron/electron · GitHub](https://user-images.githubusercontent.com/6138011/44467294-c0754100-a5df-11e8-945e-f8ce2a5063ef.png)