none
IPP printer "Windows cannot connect tothe printer"

    Question

  • I am having an odd issue.

    I have an IPP printer on my network (Debian running CUPS), and I normally just install it by installing the driver and then pasting the URL in the add printer wizard.

    For whatever the reason, I cannot connect to the print on my netbook. When I paste the URL in to the wizard, and hit next, Windows almost immediately comes up with a error that reads "Windows cannot connect to the printer.", and under details it says "Operation failed with error 0x00000214.".

    Anybody have any idea what that means? This setup works flawlessly on my Win7 X64 desktop.

    EDIT: I have checked the connectivity between the netbook and the printer server. The netbook can access the print server fine.
    Friday, September 25, 2009 12:37 PM

Answers

  • Hi Chris,

    Sorry for the inaccurate format. Please just enter http://<print server name>:631/printers/HP_Deskjet_D2500_series_USB_1  (the address of the printer) as the port name and then continue.

    I suspect that this is a driver issue. The drivers for 32bit and 64bit are different.

    Additionally, I found that the driver can also be downloaded from HP website. Please see:

    HP Imaging and Printing Software and Driver Information for Windows® 7

    The driver can be downloaded from:

    HP Customer Care>HP Deskjet D2530 Printer 

    Important Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.

    After installing the driver you may follow the steps in my previous post to add the IPP printer.

    During the installation, if it prompts that whether you would like to install a local printer or a network shard printer, you can directly select the correct option and finish the installation. The printer address should be the address you mentioned above.


    Arthur Xie - MSFT
    Tuesday, October 06, 2009 5:36 AM
    Moderator

All replies

  • What is the system on the netbook and the printer model?

    You may temporary disable the anti-virus and firewall, then check how it works.


    Arthur Xie - MSFT
    Monday, September 28, 2009 6:51 AM
    Moderator
  • What is the system on the netbook and the printer model?

    You may temporary disable the anti-virus and firewall, then check how it works.


    Arthur Xie - MSFT

    Sorry for the long delay, I had an unexpected trip...

    The printer is an HP D2530, which is a basic Deskjet printer. It is connected to an HP MediaVault running Debian, and CUPS for a print server. The netbook is simply an HP Mini 1000, running Windows 7 RTM.

    The netbook currently has no firewall, or AV.
    Tuesday, September 29, 2009 12:46 AM
  • Please try the following method.

    1. Click Start, click Control Panel and double click Devices and Printers.
    2. Click Add a Printer.
    3. Select "Add a local printer".
    4. Select "Create a new port". Choose "Local Port" as the type of the port.

    5. In the box "Enter a port name", type the address as the following format.

    \\[IP address of the host computer]\[The Share Name of the printer]

    Then click Next.

    6. Choose the correct driver in the driver list. If no available driver, click the button Windows Update, wait for the process finishes and then look for the driver again.
    7. Finish the installation.

    If the issue persists, please let us know if there are any other Windows 7 computer that can access the IPP printer.


    Arthur Xie - MSFT

    • Proposed as answer by kdelarue Wednesday, November 17, 2010 5:03 AM
    Friday, October 02, 2009 9:03 AM
    Moderator
  • Please try the following method.

    1. Click Start, click Control Panel and double click Devices and Printers.
    2. Click Add a Printer.
    3. Select "Add a local printer".
    4. Select "Create a new port". Choose "Local Port" as the type of the port.

    5. In the box "Enter a port name", type the address as the following format.

    \\[IP address of the host computer]\[The Share Name of the printer]

    Then click Next.

    6. Choose the correct driver in the driver list. If no available driver, click the button Windows Update, wait for the process finishes and then look for the driver again.
    7. Finish the installation.

    If the issue persists, please let us know if there are any other Windows 7 computer that can access the IPP printer.


    Arthur Xie - MSFT

    Hi Arthur,

    The printer is not shared in that way. The url I typically enter in the new printer dialog is:
    http://<print server name>:631/printers/HP_Deskjet_D2500_series_USB_1

    The question is not how to get it to work, because it works flawlessly on my desktop (the only diff is that my desktop is running a 64bit version of W7 Ultimate, while the netbook is running the 32bit version), I need to know what issue windows is encountering, and what steps I can take to get the netbook to connect to the printer.

    Thanks for your help!
    Chris
    Saturday, October 03, 2009 2:55 AM
  • Hi Chris,

    Sorry for the inaccurate format. Please just enter http://<print server name>:631/printers/HP_Deskjet_D2500_series_USB_1  (the address of the printer) as the port name and then continue.

    I suspect that this is a driver issue. The drivers for 32bit and 64bit are different.

    Additionally, I found that the driver can also be downloaded from HP website. Please see:

    HP Imaging and Printing Software and Driver Information for Windows® 7

    The driver can be downloaded from:

    HP Customer Care>HP Deskjet D2530 Printer 

    Important Note: Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.

    After installing the driver you may follow the steps in my previous post to add the IPP printer.

    During the installation, if it prompts that whether you would like to install a local printer or a network shard printer, you can directly select the correct option and finish the installation. The printer address should be the address you mentioned above.


    Arthur Xie - MSFT
    Tuesday, October 06, 2009 5:36 AM
    Moderator
  • I am also having issues when I connect to a CUPS printer.  Your instructions lead to "'http://<print server name>:631/printers/HP_Deskjet_D2500_series_USB_1' is an invalid port name"
    Monday, October 26, 2009 6:32 PM
  • Hi Archie
    Running x64 home server /canon iP4200 32bit / Toshiba laptop 32 bit / home network.
    Obviously had probs with 64 / 32 bit printer drivers on network.
    Your solution is the EASIEST  & the BEST that I have ever come across!:)
    I would respectfully suggest that many more users would benefit from your solution & would suggest that it be made more easily found via search engines.
    Once again,
    Many Thanks
    Paul.
    Tuesday, November 03, 2009 12:22 PM
  • Please try the following method.

    1. Click Start, click Control Panel and double click Devices and Printers.
    2. Click Add a Printer.
    3. Select "Add a local printer".
    4. Select "Create a new port". Choose "Local Port" as the type of the port.

    5. In the box "Enter a port name", type the address as the following format.

    \\[IP address of the host computer]\[The Share Name of the printer]

    Then click Next.

    6. Choose the correct driver in the driver list. If no available driver, click the button Windows Update, wait for the process finishes and then look for the driver again.
    7. Finish the installation.

    If the issue persists, please let us know if there are any other Windows 7 computer that can access the IPP printer.


    Arthur Xie - MSFT

     


    Arthur, you are the man! I've been trying to get my trusty Epson 890 to work across my network- the usual add printer, network printer, windows update route didn't work. I came across this post and did as you say and now printer heaven is attained again! Many Thanks.
    Thursday, November 05, 2009 6:07 PM
  • Hi Archie
    Running x64 home server /canon iP4200 32bit / Toshiba laptop 32 bit / home network.
    Obviously had probs with 64 / 32 bit printer drivers on network.
    Your solution is the EASIEST  & the BEST that I have ever come across!:)
    I would respectfully suggest that many more users would benefit from your solution & would suggest that it be made more easily found via search engines.
    Once again,
    Many Thanks
    Paul.

    Agree 100%- I'd been tearing my hair out trying to get my Epson 890 to work across my network. I KNEW there must be a way! Came across Arthur's post and it works!
    I think many Windows 7 users would love this information.
    Thursday, November 05, 2009 6:11 PM
  • Please try the following method.

    1. Click Start, click Control Panel and double click Devices and Printers.
    2. Click Add a Printer.
    3. Select "Add a local printer".
    4. Select "Create a new port". Choose "Local Port" as the type of the port.

    5. In the box "Enter a port name", type the address as the following format.

    \\[IP address of the host computer]\[The Share Name of the printer]

    Then click Next.

    6. Choose the correct driver in the driver list. If no available driver, click the button Windows Update, wait for the process finishes and then look for the driver again.
    7. Finish the installation.

    If the issue persists, please let us know if there are any other Windows 7 computer that can access the IPP printer.


    Arthur Xie - MSFT

    I have almost the same problem, but my case is a little different. I need to monitor the printer queue jobs. So when I set the port to "\\Print-Server\Lab-5", the printer "Lexmark W840 (MS)" installed successfully on to my "Windows 7 x64" PC but no queue jobs in the print monitor. It seems that it connects to the printer directly and by passing the Print Server.

    One other thing, the printer is installed by IP on "Windows Server 2003 R2 x86", when the user send a print job it does not show the "Document Name" and number of "Pages" in the print monitor. BTW our domain is "Windows Server 2008 R2 x64".

    Any other solutions will be appreciated.

    Regards
    • Proposed as answer by HSC-TSA Wednesday, November 11, 2009 6:20 AM
    Tuesday, November 10, 2009 9:14 AM
  • Where did the printer monitor come from? Is it compatible with Windows 7? You may run the printer monitor as administrator and check the result.
    Arthur Xie - MSFT
    Thursday, November 12, 2009 7:06 AM
    Moderator
  • need the x64 print driver!
    Thursday, November 12, 2009 2:14 PM
  • I am also having issues when I connect to a CUPS printer.  Your instructions lead to "'http://<print server name>:631/printers/<printername>' is an invalid port name"
    I see exactly that as well. I get the "invalid port name" error and it refuses to continue. Same machine running XP has no problems defining it as an "internet port". It does not matter whether I try to create a new printer, or reassign the port for a printer defined locally.
    I have carried the printer into my room and verified that the x64 drivers work through a local usb port.
    Thursday, November 12, 2009 2:19 PM
  • Where did the printer monitor come from? Is it compatible with Windows 7? You may run the printer monitor as administrator and check the result.
    Arthur Xie - MSFT
    The printer now installed by IP on "Windows Server 2003 R2 SP2 x86", when I login to this server what I see in the print monitor are "Remote Downlevel Document" in "Document Name" column and "N/A" in "Pages" column.

    How can I run printer monitor as administrator, while the only way that I know to run it is to double click on the printer?

    BTW, I'm a "Domain Admin".


    Regards

    Thursday, November 12, 2009 2:41 PM
  • Arthur,

    I've been spending several hours trying to connect to my printer on an XP box from my 7 box with no avail.  This worked like a charm.  Thank you very, very much.

    Steve
    Saturday, February 06, 2010 9:53 AM
  • I am also having issues when I connect to a CUPS printer.  Your instructions lead to "'http://<print server name>:631/printers/HP_Deskjet_D2500_series_USB_1' is an invalid port name"

    I was having this issue as well.  I added a local port entered the port as follows:  \\<print server name>\<share name>.
    For me this was \\server\Photosmart-8200-series.  Came up and asked me to select the printer make and model and was then able to print.  FINALLY!
    What is weird is when my server was running Ubuntu 9.04, I could just add the printer as a network printer in Windows 7 with no problem.  After updating my server to Ubuntu 9.10, I lost the ability to print from Windows 7 until know.  Hope this helps someone else out there.
    Thursday, February 11, 2010 3:26 AM
  • look at this thread

     

    http://social.technet.microsoft.com/Forums/en-US/w7itproui/thread/f5e69f33-29ff-4c86-a7ed-3b066f0b642d

    Thursday, July 15, 2010 5:04 AM
  • Arthur,

    Your solution enabled me to install an HP Color LaserJet 3600n on Windows 7 64-bit; thank you. However, the 3600n is alone among the 3000 series in lacking a supported driver for Windows 7. HP refers 3600n users to the Vista driver, found here .

    Friday, October 01, 2010 1:41 PM
  • Arthur -

    I was having a similar problem with a Canon Pixma iP3000 on a new Win 7 laptop. Installed fine as a local printer (found the driver from Windows Update), but would not find the driver when plugged into the desktop on the network. I used the approach here (after trying several other methods) and it worked fine. It even found the existing driver already installed on the laptop.

    Not sure why Windows couldn't find that driver when attempting to install it as a network printer, but the problem is solved now, thanks very much!

    Keith De La Rue

    Wednesday, November 17, 2010 5:09 AM
  • Here is an alternate procedure that finally worked for me. Fudging the URI in step 6 is what really bent my brain.

    1. Open the "Devices and Printers" control panel.
    2. Select the "Add Printer" from the menu bar.
    3. Select "Add a Network, wireless or Bluetooth printer".
    4. If your printer doesn't show up in the Search list, select "The printer I want isn't listed".
    5. On the "Find a printer by name or TCP/IP address" page, select "Select a shared printer by name".
    6. Enter your IPP printer URI: ex. http://servername:port /printers/printername . servername must be a numeric IP address or unqualified host name - a fully-qualified domain name doesn't work - or the bogus "Windows couldn't connect to the printer!" error is displayed. Example: http://myhost:631/printers/hplj1320 works, but http://myhost.mydomain.com:631/printers/hplj1320 fails.
    7. Click the Next button. Windows 7 should now accept the address.
    8. Select your printer maker and model and click the OK button.
    9. Windows 7 should successfully report adding your printer.

    My printers are on an Ubuntu 9.10 Linux server running a stock CUPS installation. The UNC-formatted path to the printer also seems to work, e.g \\myhost\hplj1320 .

    Not the ideal solution, but it's a pragmatic one that works for the moment. I only needed to print from my LAN.

    • Edited by -- Thursday, December 02, 2010 7:54 PM Correct UNC path
    Thursday, December 02, 2010 7:47 PM
  • Please try the following method.

    1. Click Start, click Control Panel and double click Devices and Printers.
    2. Click Add a Printer.
    3. Select "Add a local printer".
    4. Select "Create a new port". Choose "Local Port" as the type of the port.

    5. In the box "Enter a port name", type the address as the following format.

    \\[IP address of the host computer]\[The Share Name of the printer]

    Then click Next.

    6. Choose the correct driver in the driver list. If no available driver, click the button Windows Update, wait for the process finishes and then look for the driver again.
    7. Finish the installation.

    If the issue persists, please let us know if there are any other Windows 7 computer that can access the IPP printer.


    Arthur Xie - MSFT

     


    I used a hub, it is iptime. So the hub have adress \\210.107.194.247. I want to connect to a printer in my room with address \\210.107.194.248\HP Color LaserJet 2840 PCL 6 which is printer on Windows XP system. When I follow your line, it said 'The network name can not be found'. How can I solve the problem?

    Thanks for your help

     

    Sunday, January 30, 2011 10:20 AM
  • Awesome this worked perfectly thank you sooooo much:)

    Friday, March 25, 2011 6:23 PM
  • I've gone through this entire process with a new Windows 7 Laptop (hp dm4t beats edition).  The add printer wizard said "You've successfully added ... (the printer name and port), but I still can't print a test page.  I have no such problem with older Windows machines -- my Win XP laptop and old Windows 2000 Pro desktop print to that printer without any problems.  And the new laptop prints to it when connected by USB cable so the driver is OK.

    I also tried to verify that the Internet Printing Client is working.  Actually, I disabled it, rebooted several times, then re-enabled it and rebooted several additional times so hopefully that's not an issue.

    The Windows troubleshooter didn't offer any help.

    The only clues I have are that after this latest "supposedly successful" installation, I find this entry in the server's CUPS access_log:

    "POST /printers/HL-5150D-series HTTP/1.1" 200 75 windows-ext client-error-bad-request

    and these entries in the CUPS error_log:

    Missing printer-uri, job-uri, or ppd-name attribute!
    Returning IPP client-error-bad-request for windows-ext (no URI) from [Lan address of the laptop]

    Thursday, March 22, 2012 5:16 PM
  • A little update:

    I decided to test printing from the old Win2K machine since I haven't used that recently,  and found that it couldn't print -- somehow the printer properties page for that one seems to have gotten corrupted somewhere along the way and it had no port at all checked for this printer. That attempt to print produced cups messages EXACTLY THE SAME (except for the lan address) as the error messages produced when printing from Windows 7:
    <Win2K lan address> - - [22/Mar/2012:14:52:27 -0400] "POST /printers/HL-5150D-series HTTP/1.1" 200 75 windows-ext client-error-bad-request
    E [22/Mar/2012:14:52:27 -0400] Missing printer-uri, job-uri, or ppd-name attribute!
    E [22/Mar/2012:14:52:27 -0400] Returning IPP client-error-bad-request for windows-ext (no URI) from <Win2K lan address>

    But then I reinstalled the printer in the Win2K machine and now it too can print normally and the cups access log now shows:
    <Win2K lan address> - - [22/Mar/2012:14:53:35 -0400] "POST /printers/HL-5150D-series HTTP/1.1" 200 158521 Print-Job successful-ok

    I also verified that I can print to this printer from the WindowsXP laptop, and for that the access log shows:

    <Win XP lan address> - - [22/Mar/2012:14:39:54 -0400] "POST /printers/HL-5150D-series HTTP/1.1" 200 177847 Print-Job successful-ok

    The only other fact I can add is that (in Windows 7) in Printer/Properties/Ports (where it shows what appears to be a perfectly valid lan address, port, and printer name) if I click on "Configure port", and then without making any changes, click OK, after about 10 seconds delay a dialog pops up: "An error occurred during port configuration.  Operation could not be completed (error 0x000000aa)."  (And this is the same printer address that the wizard reported as successful earlier.)

    Thursday, March 22, 2012 7:26 PM
  • r.stiltskin,

    Any updates on getting past this problem?  I am experiencing the exact same issues with my Windows 7 OS.  Xp/2k both print fine, but win7 somehow malforms the HTTP request and CUPS is not happy.

    Friday, June 08, 2012 12:43 AM