Page 1 of 1

Accessing networked printer from VirtualBox

Posted: 11. Jun 2008, 18:39
by chandra
I have an HP networked printer with a JetDirect print server card. It has a 10.n.n.m address on the local network and is accessible from my Hardy Heron i386 Linux host but not from Windows run as guest OS on Virtual Box 1.6.2 (PUEL version).

At present I have Network Adapter 0 attached to NAT.

How might I get this printer recognized by Windows from within Virtual Box?

Thanks.

Chandra

Posted: 11. Jun 2008, 19:54
by Sasquatch
You can try to add it directly with it's IP address. You can also share the printer on your Host system (if you install and set up Samba it's shared by default) and connect to your Host to print to the network printer. It should be possible to connect directly using NAT.
Search the forums, there is someone else with a similar problem. You could also change the DHCP range of VB to solve the issue of the same subnet/IP address range.

Posted: 12. Jun 2008, 08:17
by chandra
Thank you Sasquatch.

I have now viewed this topic on this forum and its replies:

http://forums.virtualbox.org/viewtopic. ... ht=printer

and have found the solution that works for me.

Briefly:

1. Find out the address of the JetDirect server on the internal network. The easiest way is to find out this value, which is like 10.n.n.m for me, is to print an HP Printer Test Page and look at the address of the "Host".

2. In Windows XP:

Control Panel -> Add Printers and Faxes -> Add a printer -> A network printer or printer attached to another computer -> Select third radio burtton:

URL : http://10.n.n.m:631/printers/HP_LaserJet_2200

and go on from there.

The printer name in my case is HP_LaserJet_2200; substitute your printer's name instead.

Chandra