Steps to reproduce
Window.print() JS function doesn’t open the browser’s default print dialog box.
While this function works like a charm in other browsers.
There is a similar reported issue but says it’s been fixed but I believe its not.
Comments and activity
Thank you for contacting us about this issue! I tested this using this demo: https://www.w3schools.com/jsref/tryit.asp?filename=tryjsref_print and I was unable to replicate the problem you are describing. Could you provide me with your version of Microsoft Edge and a reproduction on a page such as https://jsfiddle.net/?
- Microsoft Edge Team
Changed Assigned To to “Zachariah L.”
I am using Microsoft Edge 44.17763.1.0 and I am still facing the same issue.
I have browsed to the w3schools link that you provided me, I used Microsoft edge and nothing happens when I click on the print button that calls window.print() function.
Whereas using the same w3schools link in chrome, clicking on the print button opens up the default print dialog box.
I tried the same example code for window.print() function on jsfiddle. Here is the reproduction of it - https://jsfiddle.net/v38uwf4c/
The button calling window.print() function does nothing upon a click.
I tested the reproduction you sent me on the newest version of Microsoft Edge and the button pulled up the print menu properly. Do you have any extensions installed that could be effecting this?