If you are not able to print from a shared printer on a network, here is a way to get around this printer issue related to the Printer Nightmare Vulnerability on Microsoft Windows.
Workaround is to add
RpcAuthnLevelPrivacyEnabled=0
under:
Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print