I have developed a MERN Stack application & I have a use case where there's a button and when the user clicks the button, a GET request is sent to the server and the results need to be printed on an A4. I have developed everything and it works completely fine.
What I want is to directly print the results without showing the print preview screen.
Is there a way in react or javascript to bypass that window and print directly?