Fixing “Cannot connect to printer error 0x0000007e”

Recently, we had some problems setting up some network printers on computers running 64-bit Vista. We could connect to the print server, but making connections to the individual printers gave us this error. Good times.

The workaround was to add the printer manually, as a local printer. To do this: Go to Control Panel > Printers > Add Printer. Then add a new local printer, using a local port. (Not TCP/IP.) For the name, put in the whole path. This will be something like: \\YourPrintServer\ThePrintersName

Now it will ask you about drivers. (Make sure you have downloaded the 64-bit drivers for your printer.) Choose Have Disk…, and browse to where you saved them. With luck, it will now ask you for what you want to call the printer on your local computer, and you’re done!

This fix worked for every computer we ran into this error for. Good luck!

40 thoughts on “Fixing “Cannot connect to printer error 0x0000007e”

  1. Worked for me on Win 7 64-bit with network printer. Created local port of \\printserver\printer. Thanks.

  2. This is actually a bug in Windows 7 and Windows 2008 R2. You can download the hotfix, but it is not yet available via WSUS or Windows Update.

    http://support.microsoft.com/kb/982728
    “Windows cannot connect to printer” error message when you try to create a Point and Print connection to a remote printer from a Windows 7 or Windows Server 2008 R2-based client computer

  3. Thanks for this. For my HP network printer on Windows 7, I had to do this as well — going a step further.

    It was necessary to remote the printers, then add them back manually, but when adding back I had to create new ports with names that were shorter an contained only letters. By default, when you create a standard tcpip port, it wants to use the IP address you type in as the name as well. I had to override this and use a text name. Then, when asked if I wanted to keep the existing driver or replace it, it hit “replace” and it copied over the files from its internal safe-cache of them. Finally, it worked.

  4. thanks brother.

    work like charm !!!

    but still only hp printer tested. not for other printer.

    and for microsoft. new technology upgraded but never consider customer using their old technology.

    what should i say? microsoft shit !!! capitalism !!!!

  5. install the printer locally, on lpt2
    then ad dos prompt enter this redirect command
    net use LPT2 \\computername\sharedprintername /persistent:yes

    It works for me, but it is not a good fix for a managed print spooler on client/server network.
    good luck

  6. for a printer, i can rceemmond hp. they are very good and have great customer service. you can get the HP color LaserJet 1600 for about $ 300 on their website. as for scanners, so far i haven’t come across a poor name, so find what features you like and go from there.hope that helps.

  7. Thank you so much! It works on windows server 2008 r2 which uses HP P2055d connected to windows 7 32bit.

  8. This worked great on a Win7 Ultimate x86 box when having trouble connecting to a HP 2100 PCL6 physically attached to a Win7 Home Premium x64 box.

    I was getting a ‘connect to shared printer operation failed error 0x0000000a’

    I had to download the x86 drivers onto the client pc and then:

    1) in explorer’s printers and devices, click the ‘add a printer’ button on the tool bar
    2) select add a local printer
    3) select the radio button for Create a new port
    4) make sure that ‘local port’ is selected in the type of port drop down list
    5) click next
    6) enter the \\server\printer in the ‘port name’ dialog box
    – in my case it was: \\WIN7HPX64COREI7\HP LaserJet 2100 PCL6
    7) follow the rest of the wizard’s dialogs to get the printer added.

    This worked as expected and advertised. Thank you very much.

    -t

  9. Hi Guys,
    I have a same issue,

    Resolv this problem exclude folder BIDI in the PrintServer.

    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers\PRINTERNAME\CopyFiles\

  10. This workaround worked for us. I had one stubborn computer that just would not connect. I tried all of the fixes I could though Microsoft and really didn’t want to bother our IT person. Running Win7x64. Thank you so very much!
    P.S. I love the cute little smiley toast at the bottom of the page.

  11. Worked for me even though I had different error no. (0x0000000a) on a Windows 8.1×64 trying to use an HP Laserjet 1200 printer attached to a Windows XP machine on a local workgroup (no server).

  12. Worked for me even though I had different error no. (0x0000000a) on a Windows 8.1×64 trying to use an HP Laserjet 1200 printer attached to a Windows XP machine on a local workgroup (no server).

  13. Thanks Aaron!!!

    Could not see my shared old Lexmark across my network shared on my desktop machine.

    I can see it now! Thanks man! I am sending a virtual beer! Cheers!

  14. Thanks, it worked for me, just add as a local and select create a new port local port and then pass the printer path and wualla its printing. THANKS A LOT

  15. I m getting a print error is the weapons helper running and set to the correct address /port??? Can any Boby help me with please thanks

  16. I deleted the printer name entry from my print server (Citrix) and reinstalled to the print server. It worked! !

  17. hi
    i had a same problem to add the p2055 network printer.
    your method work for me.
    thanks.

  18. i had the same problem to connect my computer to another computer printers and also i can’t get local port. please somebody help me now

Leave a Comment

Your email address will not be published.