ichase Posted March 20, 2013 Share Posted March 20, 2013 (edited) First of all, I am on the fense whether this post belongs in the Windows forums or the Linux forums. The host for my Windows XP VM is Arch Linux. I have this VM for work purposes. Before setting it up, I would have to re-boot into my Windows 7 partition. I have everything set up for this VM to be actually more optimal than my company laptop. Not to mention I don't have to reboot into Win 7 anymore (Actually, can't see me booting into this anytime soon ) Guest Additions are properly set up. I have access to my SAMBA storage configured. I even created a folder in my host /home directory ( VM_Storage) and have it properly mapped as a network Drive (H:/ drive) This is great considering I made the VM only 20 GB. The only thing I can't figure out is how to see my network printer. I know what you are thinking. Here we go again with Ian trying to print from Linux ) but technically I am not trying to print from Linux, I am trying to print from the WinXP Pro Guest VM. First thing I did was to see if Windows would detect my printer on the network. It did not. So I tried utilizing the default gateway of my guest OS using port 631 http : //DEFAULTGATEWAY:631/printers/Officejet_7300 That gave me an error stating it could not find the printer and that the printer may not be active. The printer IS active and I confirmed that on my wife's netbook running Win7. I then tried using the IP of the Server http : //Server_IP:631/printers/Officejet_7300 Same thing. As I am sitting here typing this, I wonder if using HTTPS vice HTTP might do the trick. I had to use HTTPS to connect to my CUPS web interface via port 631. Hmmmmmmm Edited March 20, 2013 by ichase Quote Link to comment Share on other sites More sharing options...
securitybreach Posted March 20, 2013 Share Posted March 20, 2013 Does the VM machine have an IP on your actual router or does it use a virtual network? Quote Link to comment Share on other sites More sharing options...
ichase Posted March 20, 2013 Author Share Posted March 20, 2013 Does the VM machine have an IP on your actual router or does it use a virtual network? I believe it uses the vitual network Quote Link to comment Share on other sites More sharing options...
securitybreach Posted March 20, 2013 Share Posted March 20, 2013 The default NAT setup does work, I didn't need to mess with the networking!! I am using Ubuntu 7.04 with Windows XP as a Guest OS, but I'm sure this will work similarly with other Host OS's running XP. If you go to add the printer in Control Panel on the Guest XP OS, you select Network Printer then select the "Connect to a printer on the Internet or on a home or offfice network" option. In the URL field below that you need to type it in this format. http://defaultgateway:631/printers/PRINTERNAME The Default Gateway of my XP OS is 10.0.0.2 and my printer name is Photosmart_2570 so mine looked like this. hhttp://10.0.2.2:631/printers/Photosmart_2570 Then after you click Next it will ask you to install the driver for it. https://forums.virtu...opic.php?t=1465 Quote Link to comment Share on other sites More sharing options...
ichase Posted March 20, 2013 Author Share Posted March 20, 2013 That's what I did. I just got it working by instead of using the default gateway address I used the IP of the Server with the port 631. Plus using HTTPS vice HTTP https : // 192.168.X.XX:631/printers/Officejet_7300 Josh, please set topic as solved. Thanks, 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.