Forum Discussion
Printing API for Desktop apps hosting Edge's WebView
Hi, does Edge team have plans to provide/expose an API to control printing functionality, something similar to https://technet.microsoft.com/en-us/aa753279(v=vs.90) and https://docs.microsoft.com/en-us/previous-versions/aa769937(v%3Dvs.85) etc commands?
5 Replies
- Elliot KirkFormer Employee
noseratio, I have sent an email asking the team that own this what their plans are. I will respond back when I hear something. Thanks - Elliot
- noseratioBrass Contributor
Elliot Kirk Thanks! That'd be a very useful feature for corporate applications that IE always has had, unlike Chrome.
- liminzhu
Microsoft
noseratio thanks for bringing this up! Today we support printing in WebView2 (I assume you're asking about this - https://aka.ms/webview) through calling the web API `window.print()`. See similar issue and code sample on GitHub - https://github.com/MicrosoftEdge/WebViewFeedback/issues/7#issuecomment-505971520, and let me know if this works for you.