In a networked environment with printers on a server queue, how can one "capture" a printer port in a Windows 2000 Professional client (similar as in Win9x) in order to print from DOS-based applications?
The best way to do this for DOS-based applications is through the NET USE command:
NET USE LPT1 \\servername\sharenamewhere
\\servernameis the name of the print server and
\sharenameis the name of the shared printer.
This was first published in March 2002