MicrosoftEdge / MicrosoftEdge/WebView2Feedback
[Feature]: Add printer tray support to CoreWebView2PrintSettings
@Lakshmisha-KS is already working on this.
Since Feb 12, 2025.
- Dominant language
- PowerShell
- Stars
- 526
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
Describe the feature/enhancement you need
It would be nice if we can specify a printer tray on CoreWebView2PrintSettings. It would be more ideal than passing the custom PageHeight and PageWidth and doing the conversion for all pageSize to inches.
The scenario/use case where you would use this feature
In our application, end user can specify a printer tray in our custom print dialog, we want to pass the printer tray info directly to WebView2.PrintAsync API. Currently since printer tray is not supported, we require end user to specify a paper size and we convert it to the inches to pass down to WebView2.PrintAsync API.
How important is this request to you?
Nice to have. There are other ways to tackle this, but having official API support would be beneficial.
Suggested implementation
No response
What does your app do? Is there a pending deadline for this request?
See the scenario/use case section above.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.