Microsoft has released a recent Windows update that cause shared printers to fail. It may be installed in your printer server. You will not be able to print from client computer and receive a Failed to print error message.
If you are trying to add printer, you will receive an error Operation failed with error 0x0000011b.
To check if the recent Windows update is causing the issue, make a test print from client computer to other shared printer in your network. If you can print, then proceed to uninstall the Security Update for Microsoft Windows (KB5005565).
To do this, login to the print server or the machine where the printer is attached. Head on to Control Panel, search updates and click on View Installed Updates.
Check the recently installed updates from the list. Find Security Update for Microsoft Windows (KB5005565) then click uninstall.
Wait until the process completed, restart your print server and make a test print from client computer. You shouldn’t get a failed to print message by now.
Related: How to fix error 0x00000709 Windows couldn’t connect to the printer
How to prevent KB5005565 update from installing
In order to stop the Windows Update KB5005565 from installing in your system, you need to hide it. Run the Windows Update show hide troubleshooting package, select KB5005565 then hide the update from installation. After running the hide package, you can now proceed to uninstall the windows update.