Never heard of this problem before, but here a link that might help you: Microsoft Technet: windows cannot connect to the printer.error 0x0000000d
Or try to add the printer via the commandline by executing the command:
net use lpt# \serverprinter /persistent:yes
net use lpt2 \compaqpchpdeskjet /persistent:yes
Where lpt2 is a printer port that physically doesn’t exist on your pc.
Hope this helps you a bit! 🙂