tojocky / node-printer

Native node.js printer
1.53k stars 441 forks source link

Dialog Based Printing #291

Open semireg opened 4 years ago

semireg commented 4 years ago

Has there been any consideration to integrate with native system print dialogs for interactivity?

Forgive the electron-centric musing: I’m researching different ways to print PDFs from Electron and there is no good solution to print from the main process. There are ways to print from the renderer process via PDFJS but it seems crazy to convert what should be a “portable document format” file into HTML just so it can end up in a print dialog again.

Fwiw, if this were possible, I would also require being able to preset page size and margins.