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
joannaFlw
changed the title
[Bug]:
[Bug]: A6 not accepted as pageSize in settings of web content.print
Feb 3, 2023
joannaFlw
changed the title
[Bug]: A6 not accepted as pageSize in settings of web content.print
[Bug]: A6 not accepted as pageSize in settings of webContents.print
Feb 3, 2023
Preflight Checklist
Electron Version
22.2.0
What operating system are you using?
macOS
Operating System Version
Ventura 13.0.1
What arch are you using?
arm64 (including Apple Silicon)
Last Known Working Electron version
No response
Expected Behavior
web content.print to accept A6 as pageSize in settings
Actual Behavior
throwing an error : Error: Unsupported pageSize: A6
at _.print (node:electron/js2c/browser_init:2:76160)
Testcase Gist URL
No response
Additional Information
You need to add in this file electron/lib/browser/api/web-contents.ts, to the constant PDFPageSizes the A6 configuration
The text was updated successfully, but these errors were encountered: