Terminal server: Printing to LPT1 as LPT1, not TSXXX
Posted on 2006-05-03
I have a workstation with a local label printer attached to LPT1. When I log this station into the terminal server (as a remote desktop client), it creates a print session for the client in the form TSXXXX COMPUTER NAME PRNXX -- well and good, that's what it's evidently supposed to do. I can print fine to the label printer from the client station when I'm logged into the terminal server, as well as when I'm not logged in.
So here's the problem: We have a program that basically runs the DOS copy command-- Copy Label.txt LPT1:, and that prints our labels. For this program to work, the port MUST be called "LPT1:". TSXXX is the port the program finds, and although that's redirected from the terminal server To LPT1 on the client station, it's not recognized as LPT1 by the program.
So I either need a program that can translate "TSXXX" to "LPT1", or I need a way to tell the terminal server to call the port "LPT1:". Is the latter solution possible?