In System Webbrowser, there are 2 print functions
WebBrowser.Print-prints the current document without requiring further user input.WebBrowser.ShowPrintDialog- Opens the Internet Explorer Print dialog box
With WebView2, we can show print preview dialog with the below approach
Print functionality in WebView2 control
await webview2.CoreWebView2.ExecuteScriptAsync("window.print();");
However, I'm not sure how to perform silent printing (without showing print preview).
Thanks