|When connecting a network printer, the following error was encountered on a Windows 7 64bit computer:|
Windows cannot connect to the printer. Operation failed with error: 0x00000002
This occurs after browsing to the machine with the shared printer, right clicking the printer, and selecting ‘connect’.
This issue relates to creating a port for the mapped printer, or the printer UNC. During trouble shooting, we did rename the printer to ensure that it follows “8.3” naming convention used on NetBIOS: that did not resolve the issue. Both computers, the client and sharer, were Windows 7 64bit.
The solution is to create a new ‘Local Port’ using the UNC to the printer share as the name. For example, the printer is shared with the name ‘HPLJ5’ on computer ‘DESKTOP1’. The local port’s name should be ‘\\DESKTOP1\HPLJ5’.
You may create a new port while doing the ‘Add Printer’ wizard from Devices and Printers in control panel. During this process, you will need to install the print driver as it will not pull the driver from the computer that shared the printer.