[Klug-general] VirtualBox hogs me printers
Peter Childs
peterachilds at gmail.com
Wed Sep 3 03:47:03 UTC 2008
2008/9/2 Mike Rentell <michael.rentell at ntlworld.com>:
>
>
> Peter Childs wrote:
>>
>> 2008/8/30 Mike Rentell <michael.rentell at ntlworld.com>:
>>>
>>> Peter Childs wrote:
>>>>
>>>> 2008/8/28 Mike Rentell <michael.rentell at ntlworld.com>:
>>>>>
>>>>> Good morning all,
>>>>>
>>>>> VirtualBox works a treat for me as I have to use WinXP for an accounts
>>>>> program. Hosted on Mandriva 2008 everything works fine, except that
>>>>> with
>>>>> VB working it hogs the printers and any printing done in parallel Linux
>>>>> programs doesn't appear. When I shutdown VB I have to switch the
>>>>> printers off and on again to get whatever Linux sent to CUPS in the
>>>>> meanwhile.
>>>>>
>>>>> Bit niggling. Anyone know a wrinkle that might help?
>>>>>
>>>>> Ta
>>>>>
>>>>> mikeR
>>>>>
>>>> Simplest method is probably to connect to the printer over the network
>>>> (ie the virtual network card and samba) and not give the Virtual
>>>> machine direct access to the printer.
>>>>
>>>> Peter.
>>>>
>>> That's a good idea which had never occurred to me. Now I shall learn some
>>> more about this topic in the quest to make it work, never done that
>>> before.
>>> Thanks.
>>> MikeR
>>>
>>
>> It should be relatively easy at least as easier (if not easier) than
>> connecting a real printer.
>
> Not sure about that. Connecting to the printers in VM WinXP is as easy as in
> native WinXP.
>>
>> 1. Ensure Networking is working in the virtual Machine I have no idea
>> on this one.....
>
> Me neither.
>
>> 2. Connect to port 631 on the host you should get some samba admin pages.
>
> That's the bit that baffles me - need words suitable for a bear of little
> brain I'm afraid.
>
Open Web Browser in Virtual Machine (IE is fine) and visit
http://<name of host>:631/
>> 3. Add Printer in virtual machine under XP
>
> I thought I'd done that - it seems to work, but it is obviously directly
> connected, not via some notional network.
>
>> 4. Enter http://<name of host>:631/printers/<name of printer> as the
>> address of the printer
>
> Would 'localhost' do for <name of host>? Not sure what my hostname is
> because this PC is more or less standalone.
>
The localhost will be the virtual machine, you want the host, which
will be different. Its probably not a name but an ip. eg 192.168.0.1
>> 5. It will ask for drivers select appropratly
>
> Windows or Linux?
>
>> 6. Check it works
>
> So far it don't - not bothered desperately but it would be nice not to have
> to restart the printers.
>>
>> This should work on any real machine of as well (ie on your home network).
>>
> That's what I'm trying to achieve. Thanks for the advice Peter. Not there
> yet though.
>
Peter
More information about the Kent
mailing list