I am trying to open the print dialog wether or not the user has a printer installed, just so they can have access to the export as pdf function of the print dialog.
I am doing this in the main process:
webContents.print({silent: false, printBackground: true, landscape: isLandscape}, (success, errorType) => {
if (!success) console.log(errorType)
})
But no error is ever received. Will I be able to do this?