Can you re-direct printing to TS-WEB client?

  • Thread starter Matthew Harris [MVP]
  • Start date
M

Matthew Harris [MVP]

Yes, this will work just like the normal mstsc.exe
client. You may have to put this code in your
default.html though...

MsRdpClient.AdvancedSettings2.RedirectPrinters = TRUE

This assumes the server can map the printer to a printer
driver on the system though.

-M
 
M

Matthew Harrris [MVP]

heh...there are no stupid questions. The stupid ones are
the ones that are left unasked, then bite you later when
you assume too much because you didn't ask the question in
the first place.
-----Original Message-----
Matthew:

Two stupid questions:

1. "How do it know?"...when I connect via VPN and the connect Terminal
Server, I can understand how it knows where to print but how in the world
does it know how/where to send the printing to when connected via a web
connection??

The "Web" connection really isn't a web connection at all,
it is really just a redirection. When you initially
connect to the TS, you connect over port 80 to the main
webpage, and then when you click connect, your IE is then
connected to port 3389 (the RDP port) of the terminal
server. The TS ActiveX component then kicks in and allows
you to access the TS like a normal RDP connection using
the full mstsc.exe client. The redirected printing works
through the RDP data stream. As long as your have an open
port on your system that is talking to a terminal services
port on the terminal server (3389), than all that printing
data just can flow right in, integrated with the RDP
packets.
2. Where do I put the
MsRdpClient.AdvancedSettings2.RedirectPrinters = TRUE
in the default.html? I have never modified the default.html. In fact, I
don't even see a default.html on that computer (but I do see a default.htm
in the TSWEB directory...is that it?).

Arch Willingham

Oops...I meant the default.htm file. Sorry about that.

-M
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top