I've successfully created a Code Component to print from a screen a few months ago. The user clicks a button to launch the Print dialog. It formats and prints data from the screen. All good.
Just recently, when using Edge, when I click the button, the print dialog flashes open then closes instantly. However, it works in IE, Chrome, and Firefox.
Any ideas?