You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hedwig188 you are right I didn't see it. This is an answer. Setting the dpi:{ horizontal: 600, vertical: 600 } on the printOptions can workaround the issue.
Preflight Checklist
Electron Version
25.5
What operating system are you using?
Windows
Operating System Version
Windows 10 version 10.0.19044
What arch are you using?
x64
Last Known Working Electron version
No response
Expected Behavior
Expected behavior when using win.webContents.print(testoptions.... that the printed image would be the original size
Actual Behavior
Actual behavior is the printed image is 100 times smaller than original even the header.
Testcase Gist URL
https://gist.github.com/bagonterman/4abe303168c57b0ac8d6ec8d4ae01a49
Additional Information
No response
The text was updated successfully, but these errors were encountered: