I have an Angular application, where you can calculate a couple of things and finally generate a result page which can be printed/ exported to pdf via window.print(). This also works totally as expected.
But we built also a desktop version of this application with Electron now. If I want to print/ export the result page in the Electron app the windows print popup opens (compare this image) where I can only choose a printer but there is no option to export it to pdf instead.
Is there any way to still use window.print() and add a posibility to export it to pdf (basically like the window.print() version in the web)?