Re: Application that prints directly to LPT2

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Massimo - port redirection should be working for you, you enabled the right
setting in ActiveX script.



You can verify port redirection by running "chgport" utility in TS session:



C:\Documents and Settings\user>chgport /query

AUX = \DosDevices\COM1

COM1 = \Device\RdpDrPort\;COM1:1\tsclient\COM1

COM2 = \Device\Serial0

LPT1 = \Device\RdpDrPort\;LPT1:1\tsclient\LPT1

PRN = \DosDevices\LPT1



Ports that start with \Device\RdpDrPort are client ports redirected over RDP
protocol.



If you do not see LPT2 redirected from the client in that list, it most
likely means that there is no local physical LPT2 port on the client
computer. You can check that by going to Computer Management (compmgmt.msc)
on the client, and checking Device Manager\Ports (COM & LPT).



Hope this helps.


--
Maxim Oustiougov,
Terminal Services Program Manager

This posting is provided "AS IS" with no warranties, and confers no rights.

<m.piceni@xxxxxxxxxxxxxxxx> wrote in message
news:Ob01813cGHA.4264@xxxxxxxxxxxxxxxxxxxxxxx
Hi,

I'm using TsWeb to connect to a remote Terminal Server.
I've an old application, running on the TS, that prints directly to LPT2
port an bypass Windows printer driver. Is there any way to make it print
on the LPT2 of the client ?
I tryed to enable the redirect ports option:

MsRdpClient.AdvancedSettings2.RedirectPorts = TRUE

but seems to work only on COM ports, not LPT (or at least not on LPT2).

Any help is welcome.

Thanks.

Massimo.



.



Relevant Pages

  • Redirected Com Port not Responding with CE .NET RDP client
    ... I am having problem with Serial Port Redirection in Terminal Services on a ... Windows CE client device. ... It opens the COM port ok on the CE device (it would display an error ... The terminal services client on the CE device is configured to ...
    (microsoft.public.windows.terminal_services)
  • Re: Redirected Com Port not Responding with CE .NET RDP client
    ... MCSE, CCEA, Microsoft MVP - Terminal Server ... the COM port was redirecting data from the CE ... >> states that CE.NET 4.0 contains the rdp client (no version ... >>> I am having problem with Serial Port Redirection in Terminal ...
    (microsoft.public.windows.terminal_services)
  • RE: command-line reverse connection tunnel?
    ... port redirection. ... E.G. for a shell you can: ... Revinetd is used for port redirection ... >What exactly is different from using netcat listeners on both, ...
    (Pen-Test)
  • Re: Using Terminal Server 2003 and Port Redirection
    ... com port redirection over TS 2003. ... printers and hand scanners. ... 2003 and its support for ALL COM PORT redirections? ... problemsand or known issues with COM PORT REDIRECTION that i could look over ...
    (microsoft.public.windows.terminal_services)
  • Re: nat and ipfw, port forwarding
    ... Port redirection etc is configured in natd.conf. ... Port redirection etc is configured with ipnat (store your config in ... i have a ssh machine behind a freebsd firewall with nat and ipfw. ...
    (freebsd-questions)