#window.webContents.Print()

3 messages · Page 1 of 1 (latest)

fading estuary
#

in my case the passed options to print method are ignored and the system's default options are used instead, to check if you are facing the same problem, try changing the default system printer to "Windows Print to pdf" and pass the target deviceName as an option and check if the deviceName is used or is ignored which in this case it will be printing to pdf.

#

in my case am developing a console app using rust which will be responsible for printing in my electron app.
or you could just set the options you want to use directly from windows parameters

nimble flume
#

@fading estuary Setting the DPI fixed the issue here but now I am always getting a blank page printed with the label page have you run into this issue as well? It was doing this prior to adding the DPI setting