Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: pageSize not work when silent print on windows 10 #39590

Closed
3 tasks done
moom-en opened this issue Aug 21, 2023 · 3 comments
Closed
3 tasks done

[Bug]: pageSize not work when silent print on windows 10 #39590

moom-en opened this issue Aug 21, 2023 · 3 comments
Labels
blocked/need-repro Needs a test case to reproduce the bug bug 🪲

Comments

@moom-en
Copy link

moom-en commented Aug 21, 2023

Preflight Checklist

Electron Version

26.0.0

What operating system are you using?

Windows

Operating System Version

windows 10

What arch are you using?

x64

Last Known Working Electron version

No response

Expected Behavior

pageSize works when silent print.

Actual Behavior

webContents.print({silent:true, pageSize: 'A5'});
pageSize not works when silent print. it always use printer default pageSize.
GQ)MAHY{ LLZVU% AL68V](https://github.com/electron/electron/assets/35919845/c196a2e8-3605-453e-9e98-029e8675e834) ![$WCJP}C}YNK%0 ~V9Q6O`2

Testcase Gist URL

No response

Additional Information

No response

@moom-en
Copy link
Author

moom-en commented Aug 21, 2023

GQ)`MAHY{ LLZVU% AL68V

@jkleinsc jkleinsc added the blocked/need-repro Needs a test case to reproduce the bug label Aug 21, 2023
@github-actions
Copy link
Contributor

Hello @moom-en. Thanks for reporting this and helping to make Electron better!

Would it be possible for you to make a standalone testcase with only the code necessary to reproduce the issue? For example, Electron Fiddle is a great tool for making small test cases and makes it easy to publish your test case to a gist that Electron maintainers can use.

Stand-alone test cases make fixing issues go more smoothly: it ensure everyone's looking at the same issue, it removes all unnecessary variables from the equation, and it can also provide the basis for automated regression tests.

Now adding the blocked/need-repro Needs a test case to reproduce the bug label for this reason. After you make a test case, please link to it in a followup comment. This issue will be closed in 10 days if the above is not addressed.

@codebytere
Copy link
Member

Duplicate of #31705

@codebytere codebytere marked this as a duplicate of #31705 Aug 23, 2023
@codebytere codebytere closed this as not planned Won't fix, can't repro, duplicate, stale Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked/need-repro Needs a test case to reproduce the bug bug 🪲
Projects
None yet
Development

No branches or pull requests

3 participants