[Solved] Printers redirect/forward

This is for discussing general topics about how to use VirtualBox.
Post Reply
kraf101
Posts: 15
Joined: 31. Aug 2010, 16:36
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: win xp

[Solved] Printers redirect/forward

Post by kraf101 »

Hi.
I could not find any clear info, so ....
Is there any chance to redirect printing from remote VM to local printer, with VB VRDP?

Thanks
RAF
Last edited by kraf101 on 2. Feb 2018, 17:11, edited 1 time in total.
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Printers redirect/forward

Post by socratis »

VRDP? No. The only thing that could be routed is USB. But if your printer is a network one, why don't you try network printing?
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.
kraf101
Posts: 15
Joined: 31. Aug 2010, 16:36
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: win xp

Re: Printers redirect/forward

Post by kraf101 »

socratis wrote:VRDP? No. The only thing that could be routed is USB. But if your printer is a network one, why don't you try network printing?
Oki, my printer is USB.

I've tried to rdirect USB.
Host: Ubu 16.04
Guest: Win7 Home Premium
Remote: Laptop Ubu 16.04

Code: Select all

VBoxManage list extpacks
Extension Packs: 1
Pack no. 0:   Oracle VM VirtualBox Extension Pack
Version:      5.1.2
Revision:     108956
Edition:      
Description:  USB 2.0 and USB 3.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption.
VRDE Module:  VBoxVRDP
Usable:       true 
I've tried:

Code: Select all

 rdesktop-vrdp -r usb -a 16 -N  my.host.adr
and there is no USB devices routed to RDP desktop.
Any idea what to do, to get it worked?

Thanks
RAF
kraf101
Posts: 15
Joined: 31. Aug 2010, 16:36
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: win xp

[Solved] Printers redirect/forward

Post by kraf101 »

Oki, done. Connection rather tricky. I can print on USB HP100 and only print. No other communication, like ink level , no paper etc. Maybe someone knows solution.
As manuals are bit unclear and hard to find info, I show my way step-by-step.

1. Plug USB device to host.
2. With VB console (or other way) activate filter for connected device.
3. Run guest machine and install drivers for device.
4. Shut guest.
5. In VB console (or other way), set USB filter to Remote - YES.

DONE
Now you can plug the device to remote comp, start headless and .....
rdesktop-vdrp -r usb bla bla bla.

Should work.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: [Solved] Printers redirect/forward

Post by mpack »

kraf101 wrote:Maybe someone knows solution.
It was already given: install/use as a network printer. Redirecting USB is not a good idea, as it stops the host or any other VM or PC from using the printer.
kraf101
Posts: 15
Joined: 31. Aug 2010, 16:36
Primary OS: Ubuntu other
VBox Version: PUEL
Guest OSses: win xp

Re: [Solved] Printers redirect/forward

Post by kraf101 »

mpack wrote:It was already given: install/use as a network printer. Redirecting USB is not a good idea, as it stops the host or any other VM or PC from using the printer.
So far, I have no other idea, when need to work offsite with laptop and mobile printer. Its not to much to printout, so let's see, what happen.
Post Reply