Print Local:>RDP to Win7/10 ->VBox WinXP

Discussions related to using VirtualBox on Windows hosts.

Print Local:>RDP to Win7/10 ->VBox WinXP

Postby RgG » 11. Aug 2019, 23:02

Remote computer runs Remote Desktop to a Windows 7 (or 10) Desktop, which runs VBox WinXP Guest OS.
Need to print to the local printer (whether on the remote network or connected directly to remote computer) running the RDP client.
Cannot figure it out.

Was able, at least in most cases, to do this running XPMode on Win7, but can't figure out any workaround to do this with VBox. VBox can print to the Host machine's printers, but doesn't see the TS printers.
IF I could create a fake printer on the host that redirects to a TS printer on the host?
End goal is getting a 16-bit Windows app to print to the RDP client's printer...

(The only way I can get it presently is to print to a pdf in the VM saved in host-accessible drive/file. Then the RDP client can open it in the host with pdf reader and use Terminal services printer to get it printed locally - but that's more steps than would like.)
RgG
 
Posts: 2
Joined: 11. Aug 2019, 22:46

Re: Print Local:>RDP to Win7/10 ->VBox WinXP

Postby scottgus1 » 12. Aug 2019, 02:57

RgG wrote:Cannot figure it out.


I'm sorry but I'm afraid I can't either... :shock: The remotes and locals are not pinned down enough in my mind.

It sounds like you have a host PC running Windows 7 or 10. Virtualbox is on that PC, and you have an XP guest.

I think you also have another PC somewhere else and you are Remote Desktop-ing into that other PC. This other PC has a printer on it that you need to print to from the XP guest.

It appears you are running the Remote Desktop Connection on the host PC, and you are sharing the other PC's printer onto the host PC.

You can print from the host PC on the other PC's printer. When you were running XPmode you could print from the guest to the other PC's printer. But now using Virtualbox you can't print to the other PC.

If I don't have this grasped, please draw a picture and attach it using Upload Attachment.

XPmode probably had all sorts of inside tricks to tie the XPmode guest into the heart of the Windows 7 host, so programs on the XPmode guest would run as if they were really installed on the host. Virtualbox keeps host and guest completely separate, and you would need to set up a network between host and guest to get printer sharing to work. Adding in the Remote Deaktop Connection complicates things by not having an obvious network for the Virtualbox guest to connect to. If you cannot re-share the shared printer from the other PC, you may not be able to get the Virtualbox guest to see the RDP-shared printer, unless RDP has an accessible network capability. I have never heard of one.
Human government is like that crazy uncle who hides a quarter in his fist behind his back, then asks you to guess which fist the quarter is in...
No matter which side you choose, Left or Right, both Sides are empty.
scottgus1
Volunteer
 
Posts: 4631
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Win7

Re: Print Local:>RDP to Win7/10 ->VBox WinXP

Postby sophiagomes » 16. Oct 2019, 06:58

Some users are facing these local printing issues in their Windows XP or Virtual Box based system. The users must know which would be effective for them I can assure.
sophiagomes
 
Posts: 1
Joined: 16. Oct 2019, 06:46
Primary OS: Ubuntu 8.10
VBox Version: OSE Debian
Guest OSses: 10

Re: Print Local:>RDP to Win7/10 ->VBox WinXP

Postby BillG » 16. Oct 2019, 07:33

They probably do, but that does not help us unless they decide to tell us how they do it.

File and printer sharing in XP uses the old NT-style computer browser service and SMB1. This is disabled by default in Windows 10 and is not recommended by Microsoft because of the security problems with SMB1. Even if you enable SMB1 in Windows 10, file and printer sharing between Windows 10 and XP Is unreliable.

To move files from XP to Windows 10 I usually do it in two steps. XP to Windows 7 then Windows 7 to Windows 10.

I don't even try to print from an XP vm to a network printer or a printer shared on Windows 10. Printing from Windows 7 (physical or vm) to a shared printer on a Windows 10 machine works fine.
Bill
BillG
Volunteer
 
Posts: 4188
Joined: 19. Sep 2009, 04:44
Location: Sydney, Australia
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows 7,8,Server

Re: Print Local:>RDP to Win7/10 ->VBox WinXP

Postby socratis » 19. Oct 2019, 11:12

@'sophiagomes'. Or do you prefer 'crislee01'?

Please note that your "generic" comments have been locked to prevent abuse and/or spamming. Please don't get any funny ideas, you're treading on thin ice...
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 26707
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5


Return to VirtualBox on Windows Hosts

Who is online

Users browsing this forum: No registered users and 43 guests