Problems Printing PDFs from Edge Browser

If you find yourself unable to print a PDF that is being viewed on
Microsoft Edge, Try these steps:
1. Run local group policies
2. Then go in Computer Configuration->Administrative Templates-
3. Set "Policy Always Render Print Jobs on Server" to disable.
4. Restart print spooler on local machine.