For some time on my Windows 10 desktop PC, neither does the "Microsoft XPS Document Writer" nor the "Microsoft Print To PDF" virtual print drivers seem to work.
Whenever I try to print a document using either one, it prompts a file dialog for me to pick a filename and location, and when I click OK to print, it does nothing. The dialog window disappear, no error is shown, and nothing else happens. When I look at the directory where the file was supposed to be created, there is nothing, not even a zero-byte file. The directory where I save the file does not have any special characters in it (no comma), and I have full admin access to it. The Windows Event Viewer doesn't show any error either.
If I try to print a test page using the Printer properties panel of each virtual printer, it gives me an error saying "Test page failed to print." and proposes me to use the troubleshooter (which I did and it found nothing).
I have also tried to uninstall and reinstall both printers (using the "Turn Windows features on or off" panel), with a reboot in between, but that didn't fix the issue.
I have a network printer installed which is working fine. User access Control is also disabled (slider all the way down) and my account type is administrator.
This used to work before (although I can't pinpoint when exactly as I don't use it often enough). I suspect it was caused by a Windows update, but since Windows 10 updates are mandatory and can't easily be excluded, even if I uninstall the last updates in the Installed Updates list, they come back the minute I reboot, and I can't hide them like I could in Windows 7.
This is a fresh install of Windows 10 Pro, and not an upgrade.
I have spent quite a while searching Google for this issue but the only cases I found were about commas in the filename or path and was only affecting printing from Edge, which is not my case. Any help would be appreciated. Thanks !