Printing on Remote Desktop session
Posted
by
Arindam Banerjee
on Server Fault
See other posts from Server Fault
or by Arindam Banerjee
Published on 2012-10-11T16:34:24Z
Indexed on
2012/10/11
21:39 UTC
Read the original article
Hit count: 268
windows-terminal-server
We have to connect a Windows 2008 server using Remote Desktop from Windows XP machine. A Barcode Printer is attached with XP machine and the printer is shared as Local Resource in RDC session to the server.
On the server we have to print from an application which prints either to LPT port or shared printer (UNC path). For this I use to configure print pooling combining LPT1 and (Terminal Server) TSxxx port. As I don't know the option to access the Terminal Session printer via UNC path.
But I have the following issues -
Every time I connect to a remote session, the printer from my local Win XP machine is showing in Printers and Faxes on Win 2008 Server (Terminal Server), but I am not allowed to manage the Win XP printer from Terminal Server to enable pooling. On the server I have to change the security permission every time and then enable print pooling. How can I keep the security permission unchanged?
Secondly I created a batch file to enable print pooling.
rundll32 printui.dll,PrintUIEntry /Xs /n "Printer (from CLIENT)" Portname "LPT1:,TS005"
But every time the printer in terminal session connects in diffrent terminal Session port. Any solution to make the TS port fixed?
Help from anyone will be highly appreciated.
© Server Fault or respective owner