Connect to Win7 wireless printer via Windows Virtual PC


  1. Posts : 26
    Win7 Pro x64
       #1

    Connect to Win7 wireless printer via Windows Virtual PC


    Hello -

    I have an HP wireless printer fully functional on my host Win7 box, however I cannot find the printer when running in Windows XP Mode. Possibly the printer should be set up as a network printer so that it can be seen in XP mode - or should I be setting it up based on the IP address? guidance would be appreciated.

    TIA
      My Computer


  2. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #2

    Tranas Spietis said:
    Hello -

    I have an HP wireless printer fully functional on my host Win7 box, however I cannot find the printer when running in Windows XP Mode. Possibly the printer should be set up as a network printer so that it can be seen in XP mode - or should I be setting it up based on the IP address? guidance would be appreciated.

    TIA

    Windows workgroup networking really makes things easy when correctly set up, achieving what you want to is easy. See this screenshot for an example:

    Connect to Win7 wireless printer via Windows Virtual PC-2014-02-04_12h01_28.png

    By default the XP Mode uses Shared Networking (NAT) for its communications with outside world. This puts XP Mode in the 192.168.131.XXX subnet, even if your host PC would be on 192.168.1.XXX or other private IP subnet.

    If left so, the XP Mode cannot use your network printer. You'll need to change the XP Mode settings first to let it use your host computer's network adapter instead of NAT. See this tutorial (Step 7.) on how to change XP Mode network settings, this post for additional information.

    When done, turn the printer on and open XP Mode:

    Step 1. On XP Mode, download the latest driver & software packet for your printer from HP:

    Connect to Win7 wireless printer via Windows Virtual PC-2014-02-04_12h23_26.png

    Step 2. Install the software, it will automatically install drivers and stop when it needs to know how printer is connected.

    Installation of HP printer software takes ages. Let it run, in the meantime you have time to watch all Star Wars films. When the movies are watched, make a sandwich and coffee and return to your PC, now you don't have to wait too long anymore :).

    Step 3. Tell installer how to find your network printer (LAN or WiFi):

    Connect to Win7 wireless printer via Windows Virtual PC-2014-02-04_13h08_40.png

    Step 4. Enter printer's IP address:

    Connect to Win7 wireless printer via Windows Virtual PC-2014-02-04_13h13_32.png

    Step 5. Installer searches your network. When done, select your printer:

    Connect to Win7 wireless printer via Windows Virtual PC-2014-02-04_13h19_42.png

    Let installer finish and you are done. Your wireless HP printer is now installed on XP Mode.

    Kari
      My Computer


  3. Posts : 26
    Win7 Pro x64
    Thread Starter
       #3

    Hello Kari...

    I was already in the process of setting up the printer using your previous post -

    XP VM does not connect wirelessly with home network or wirelessprinter

    and connected the virtual PC to the network per this link -

    Windows Virtual PC - Connect Virtual Machine to Network

    The printer is now visible on the network - but I was stuck at the point where I need the .inf driver file installed so that I can connect to it.

    Should I now start on what you posted here??

    TIA
      My Computer


  4. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #4

    Try the method described in my previous post, exactly as written including downloading the latest drivers for XP. It's better as your printer is connected to network (router) via its own IP rather than directly to another computer.
      My Computer


  5. Posts : 26
    Win7 Pro x64
    Thread Starter
       #5

    Connect to Win7 wireless printer via Windows Virtual PC


    Kari -

    The problem is that the HP driver will not install the inf, even when downloaded from the HP site.

    The way HP has their setup now, the inf by default is installed when you connect the printer to the machine - the inf is stored in the printer [probably the Driver Deployment Utility (DDU) in the printer memory] along with the full install "CD". There is no physical media other than the printer.

    Their install software is incompatible with Virtual PC's "attach USB" setup. Even when XP Mode shows the printer connected via USB - it is not visible. HP's "support" gave me the middle finger salute, explaining that they "do not support virtual machines".

    Their software always ends up in the same place - "connect the USB temporarily, so we can transfer info..." - which as stated, does not work. Can't transfer anything since there is no driver installed. see attached pic

    I need to get the DDU from the HP Printer Administrator Resource Kit and install the inf from there. I presume the install will then complete.

    Maybe you have a different way to do this?

    TIA
    Attached Thumbnails Attached Thumbnails Connect to Win7 wireless printer via Windows Virtual PC-installhangs.jpg  
      My Computer


  6. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #6

    No, I would do it as you seem to have decided: getting the .inf file manually and trying again.

    Keep us posted, we will get that installed for you :).
      My Computer


  7. Posts : 26
    Win7 Pro x64
    Thread Starter
       #7

    OK - probably tomorrow...

    Thanks for the info.
      My Computer


  8. Posts : 26
    Win7 Pro x64
    Thread Starter
       #8

    Wireless printer installed and functioning normally.

    First off, I would like to thank Kari for preparing all of the groundwork that enabled this install to work. My abbreviated install procedure follows, much of which was shamelessly copied from Kari's and Brink's previous posts. Their install procedures are more detailed, show additional options, have pretty screen shots and it will likely be of benefit to view them before following my procedure. Needless to say, every install will be different, but this may help those trying to install HP printers.

    The links used for reference are:

    XP VM does not connect wirelessly with home network or wirelessprinter
    Windows Virtual PC - Connect Virtual Machine to Network
    Network Location - Set as Home, Work, or Public Network

    Suggestions or error correction appreciated

    ********************************************************************************

    How it all works:

    Windows XP Mode [MS Virtual Machine] sees your host system [Win 7 Pro]) as a repeater. A virtual machine does not care how this repeater is connected to the router or the network. To connect to a network, Windows XP Mode uses an emulated LAN (Ethernet) connection. It has its own emulated software LAN adapter and the connection between the guest and the host is therefore always a LAN (Ethernet) connection. Hence, Windows XP Mode will connect via a router to a wireless printer in the same way the Windows 7 host does, presuming the proper printer software is installed on each machine.

    The key to the installation of an HP wireless printer is the proper connection of Windows XP Mode to your network before beginning printer installation. The following install sequence was used to install an HP LaserJet Pro 400 color M51nw printer [wireless connection] in Windows XP Mode. This particular printer was already installed as a wireless connection on the Windows 7 host. That configuration remained unchanged. HP's printer installation software sees the Virtual Machine as a stand-alone XP installation and acts accordingly, performing a normal installation using the HP software in the printer's memory. No need to hunt for or install drivers separately.

    The actual installation:

    1. In Windows 7 host - install and Configure XP Mode [MS Virtual Machine] and the router:
    1.1 Virtual Machine installed with integration features enabled;
    1.2 router MAC filtering disabled.
    2. In Windows 7 host - Open the Virtual Machine - but NOT in full screen.
    3. In the virtual machine - in the menu bar, click on Tools and verify integration is enabled.
    4. In Windows 7 host - to enable the Virtual PC Network Filter Driver:
    4.1 Open the Control Panel (icons view), then click on the Network and Sharing Center icon;
    4.2 In the Network and Sharing Center, click on the Change adapter settings link on the left side;
    4.3 Right click on your internet network connection, and click on Properties;
    4.4 make note of the network adapter name (ex: MyAdapter....). You will need this in 5.2;
    4.4 verify that the Virtual PC Network Filter Driver box is checked;
    4.5 click on OK.
    5. In Virtual Machine - set the Network Settings:
    5.1 On the virtual machine's menu bar, click on Tools and Settings;
    5.2 In the left pane, select Networking;
    5.3 Select your network adapter name from the drop down box;
    5.4 click OK.
    6. In Windows 7 host - Select the Network location type:
    6.1 Open the Control Panel (icons view), and click on the Network and Sharing Center icon;
    6.2 Under Network, click on what you currently have selected as your network location;
    6.3 Select a location that fits your network location needs;
    6.4 The network location will be changed to what you selected;
    6.5 Click Close;
    6.6 Close the Network and Sharing Center.
    7. The virtual machine should now be able to connect to your network and access the internet from it.
    8. HP Printer installation on the Virtual Machine:
    8.1 Open Virtual Machine;
    8.2 In Virtual Machine - set the OS to the desired regional settings -
    printer software will default to the language of the selected region;
    8.3 Power up the printer;
    8.4 Plug in USB cable;
    8.5 In Virtual Machine - in full screen - select USB in the taskbar and attach the printer;
    8.6 Allow the device to be recognized and begin the install procedure -
    HP loads appropriate data and creates a virtual CD with HP Smart Install;
    8.7 Double click the Virtual CD and run HP Smart Install
    8.8 Select desired software to install;
    8.9 Accept agreements and proceed;
    8.10 Select - connect through wireless network - allow the software to discover;
    8.11 Printer will be displayed - click next;
    8.12 Disconnect the USB cable when requested;
    8.13 When the USB cable is disconnected, the drivers and full program will install;
    8.14 When offered, set printer as default and print a test page;
    8.15 HP Smart Install then completes the install;
    8.16 Make final selections that are offered;
    8.17 Click Finish;
    8.18 If regional settings were changed for install - reconfigure as necessary.

    When installation on the virtual machine is completed, the HP printer will have a wireless connection to both the Windows 7 host and the Virtual machine. There will be no need to attach or enable the printer when using either system. Simply open the machine you want to use and print.

    HTH
    Attached Thumbnails Attached Thumbnails Connect to Win7 wireless printer via Windows Virtual PC-hp-software-install-complete.jpg  
      My Computer


  9. Posts : 17,545
    Windows 10 Pro x64 EN-GB
       #9

    :)

    Good to know you got it working!
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 00:43.
Find Us