• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

script to share printers in Terminal Services

Shenlon

Member
I'm having trouble writing a script that will take the printer(s) attached to the local computer and share them on the server under Terminal services once they log on. For example:

Workstation 1 has a Dot-matrix printer "DMPrinter" attached to LPT1. When he connects to the server using Terminal Services, Terminal Services automatically creates a printer named DMPrinter and that printer will work 100% fine from any and all windows applications. The problem comes when the user needs to print from a DOS based application, the printer has to be given a sharename and then a "net use LPT1 \\server\DMPrinter /persistent:yes" has to be issued for the printer to print to the LPT1 port correctly from DOS.

Does anyone even understand what I'm trying to do, if not please ask questions and I will do my best to answer them.
 
Back
Top