How to get a USB printer available in client OS

Discussions related to using VirtualBox on Linux hosts.
Post Reply
MarisaG
Posts: 4
Joined: 10. Aug 2020, 08:00
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Win2k
Location: South San Francisco, CA
Contact:

How to get a USB printer available in client OS

Post by MarisaG »

I'm trying to get my USB printer in Virtualbox (Host OS is Ubuntu) working in the client "Win2k" instance. Nothing I do seems to make it available. Anyone have any tips on how to do this? BTW my Virtualbox is latest release...
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 to get a USB printer available in client OS

Post by mpack »

Do you have Win2K drivers for that printer? Otherwise there's no way to get it working.

A printer doesn't have to physically attached to the PC that uses it, so sharing it as a network printer from the host is probably a lot easier than trying to access a USB device from a 2-decades old OS. But, without drivers it's just a big paperweight.
MarisaG
Posts: 4
Joined: 10. Aug 2020, 08:00
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Win2k
Location: South San Francisco, CA
Contact:

Re: How to get a USB printer available in client OS

Post by MarisaG »

mpack wrote:Do you have Win2K drivers for that printer? Otherwise there's no way to get it working.

A printer doesn't have to physically attached to the PC that uses it, so sharing it as a network printer from the host is probably a lot easier than trying to access a USB device from a 2-decades old OS. But, without drivers it's just a big paperweight.
I was trying to use the Hp Laserjet drivers in win2k, but I can't see the printer at all. Pointer to a site where to get a networked printing driver for Ubuntu?
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: How to get a USB printer available in client OS

Post by scottgus1 »

MarisaG wrote:Pointer to a site where to get a networked printing driver for Ubuntu?
This question sounds quite suitable for Google et al.

I have jumped the gap over lack of printer drivers by printing to PDF in the driverless OS then printing the PDF in the drivered OS. Even wrote a script to make the PDF-print part automatic, any PDF showing up in a share folder gets printed.
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 to get a USB printer available in client OS

Post by mpack »

MarisaG wrote:Pointer to a site where to get a networked printing driver for Ubuntu?
There's no such thing as a "networked printer driver" in the sense you probably mean. I.e. I don't think you'll be able to find a "HP Laserjet Network Driver".

Printer Sharing happens at two levels: a generic communications level which provides the basic connection (e.g. USB, Ethernet, other), and a miniport driver that provides the actual HP Laserjet functionality. The same printer driver is used regardless of how the connection is made.

There should be an option in your host to share printers on the network at that generic device level: and hopefully it can share printers a la Windows otherwise there's no way a Win2K guest will see one shared by Linux. I'm assuming this isn't a problem, since Linux has been providing Windows compatible network interfaces since forever, in fact I'm assuming it needs to be a SAMBA share.

Then, once comms level access to the printer is sorted out, you need that HP Laserjet Win2K miniport driver so that Win2K knows how to use that printer. No doubt there's a website somewhere that hosts old HP printer drivers.
MarisaG
Posts: 4
Joined: 10. Aug 2020, 08:00
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Win2k
Location: South San Francisco, CA
Contact:

Re: How to get a USB printer available in client OS

Post by MarisaG »

scottgus1 wrote:
MarisaG wrote:Pointer to a site where to get a networked printing driver for Ubuntu?
This question sounds quite suitable for Google et al.

I have jumped the gap over lack of printer drivers by printing to PDF in the driverless OS then printing the PDF in the drivered OS. Even wrote a script to make the PDF-print part automatic, any PDF showing up in a share folder gets printed.
Interesting! You willing to share that script?
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: How to get a USB printer available in client OS

Post by scottgus1 »

Here you go. It's VBscript for Windows, but I'm sure a Python version could be made.
pdfprint multicopies.zip
(1.5 KiB) Downloaded 6 times
MarisaG
Posts: 4
Joined: 10. Aug 2020, 08:00
Primary OS: Ubuntu other
VBox Version: OSE other
Guest OSses: Win2k
Location: South San Francisco, CA
Contact:

Re: How to get a USB printer available in client OS

Post by MarisaG »

scottgus1 wrote:Here you go. It's VBscript for Windows, but I'm sure a Python version could be made.
pdfprint multicopies.zip
Thanks! I'll give it a look. Trying to get MS-Bob to be able to print as a guest install. I'm crazy I know...
Post Reply