How do I install a new printer?

This is for discussing general topics about how to use VirtualBox.
Post Reply
Artgamble711
Posts: 6
Joined: 10. Nov 2012, 20:19

How do I install a new printer?

Post by Artgamble711 »

I am using Virtualbox ver 4.3 on a windows 7 machine. The virtual machine uses windows XP

I got a new printer yesterday and I am trying to install it using a usb port

It works fine on the host machine.

On the virtual machine I installed it thru control panel, but it will not print.

I installed all the proper drivers.

When I go to properties of the printer thru the control panel of Virtual machine it shows it is installed to usb virtual printing port.

The printer shows in the choices for printers for every program but will not print.

When I go to properties and tell to print a test page it will not print.

On virtual box main screen, I have USB controller on enable, I have tried it with enable usb 2.0 (EHCI) controller checked and unchecked.

I have tried it with enable usb controller checked and unchecked.

I have tried booting the virtual machine with the usb cord disconnected and plugging it in afterward to see if it tries to install in. It does not tell me it sees new hardware.

Please help me.

Thanks in advance

Art
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: How do I install a new printer?

Post by socratis »

Artgamble711 wrote:I have tried booting the virtual machine with the usb cord disconnected and plugging it in afterward to see if it tries to install in. It does not tell me it sees new hardware.
Then how exactly did you install the USB drivers in the guest? I suspect that you did a proactive installation of the drivers. The main reason I see is that you don't have a USB filter. Read the manual, Chapter 3.10. Especially where it says:
In the Settings dialog, you can first configure whether USB is available in the guest at all, and in addition also optionally enable the USB 2.0 (EHCI) controller for the guest. If so, you can determine in detail which devices are available. For this, you must create so-called “filters” by specifying certain properties of the USB device.
But if you do that, the printer will be EITHER on the host OR in the guest. Can't be shared. I would suggest networking your host and guest and connect to the host printer via a network share.
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Artgamble711
Posts: 6
Joined: 10. Nov 2012, 20:19

Re: How do I install a new printer?

Post by Artgamble711 »

Thanks for the quick reply.

How do I network the 2 machines?

Art
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: How do I install a new printer?

Post by mpack »

Artgamble711 wrote:How do I network the 2 machines?
Either "Host Networking" or "Bridged Networking" would work. See the Virtual Networking chapter in the manual.
Artgamble711
Posts: 6
Joined: 10. Nov 2012, 20:19

Re: How do I install a new printer?

Post by Artgamble711 »

Under network, I have it set:

Attached to Bridged Adapter
Name 802.1 1n Wireless lan card
Advanced
Adaptor type PCnet-fast III (am79c973
promiscuous Mode Allow All
mac address 080027107dee
check mark in cable connected

Is this correct? The printer still does not print.

The printer is set to share
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: How do I install a new printer?

Post by mpack »

"It does not print" is akin to "it does not work". Not much use for diagnosis.

If you have the proper drivers and both host and guest are on a common network then access to the printer should just be a matter of configuration.

If I was you I would back off. First see if you can access shared folders on your host (I am not talking about GA shared folders configured in the VM settings). If you can access a true shared folder on the network then you can access a shared printer, provided you are correct that all needed print drivers are installed in both host and guest.

If you have any questions about configuring shared folders and printers on a PC network then Google would be a good place to find information.
Artgamble711
Posts: 6
Joined: 10. Nov 2012, 20:19

Re: How do I install a new printer?

Post by Artgamble711 »

mpack,

I think you have me on the right track.

I opened windows explorer on the host computer. I can see all of the virtual box computer under network places and can access the folders and documents.

I tried the same thing on the virtual machine. Under network places, I can see the host machine and many of the folders, HOWEVER, when I click on any of them I get this error

VirtualBox shared folders
\\Arts\arts trading computer is not accessible. You might not have permission to use this network resource. Contact the administrator of this server to find out if you have access permissions. Access is denied.

So, I need to find out how to make it accessible. I am the chief cook and bottle washer, so I decide the permissions...but I have no idea how to do it.

Thanks

Art
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: How do I install a new printer?

Post by mpack »

That's a standard network config problem: Google is your friend for that. I imagine it's just a matter of ensuring that host and guest are joined to the same workgroup, and that if the host requires users to log in the you ensure that the guest does so.
Post Reply