Printing to system printer without browser dialog #410

Closed
opened 2026-01-29 16:38:53 +00:00 by claunia · 2 comments
Owner

Originally created by @rutzelt on GitHub (Nov 7, 2019).

Originally assigned to: @GregorBiswanger on GitHub.

We have a requirement for our browser-based application to print directly to a printer resource. Depending on the print job, it would need to auto-detect the available printers, select one, and issue the print job to it. We may need to change options as well (i.e. portrait vs. landscape). All of this would need to be done WITHOUT a browser window popping up. Can we have a method of interacting with system resources (printers) without needing to interact with something like "Chrome's Print Preview" ?

Thank you,
Tom

Originally created by @rutzelt on GitHub (Nov 7, 2019). Originally assigned to: @GregorBiswanger on GitHub. We have a requirement for our browser-based application to print directly to a printer resource. Depending on the print job, it would need to auto-detect the available printers, select one, and issue the print job to it. We may need to change options as well (i.e. portrait vs. landscape). All of this would need to be done WITHOUT a browser window popping up. Can we have a method of interacting with system resources (printers) without needing to interact with something like "Chrome's Print Preview" ? Thank you, Tom
claunia added the Feature label 2026-01-29 16:38:53 +00:00
Author
Owner

@x-xx-o commented on GitHub (Dec 12, 2019):

I'd like this one too.

Print capability exists in Electron, it should be quite simple to implement (and it would be even better if getPrinters were added too).

@x-xx-o commented on GitHub (Dec 12, 2019): I'd like this one too. [Print capability exists in Electron](https://electronjs.org/docs/api/web-contents#contentsprintoptions-callback), it should be quite simple to implement (and it would be even better if [getPrinters](https://electronjs.org/docs/api/web-contents#contentsgetprinters) were added too).
Author
Owner

@GregorBiswanger commented on GitHub (Apr 21, 2020):

Thanks for your contribution @x-xx-o

The next Electron.NET Version 8.31.1 have your new printer support.

@GregorBiswanger commented on GitHub (Apr 21, 2020): Thanks for your contribution @x-xx-o The next Electron.NET Version 8.31.1 have your new printer support.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#410