Ask the Expert

How can one capture a printer port in a Windows 2000 Pro client in order to print from DOS-based app

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\sharename 
where
\\servername
is the name of the print server and
\sharename
is the name of the shared printer.


This was first published in March 2002

Join the conversationComment

Share
Comments

    Results

    Contribute to the conversation

    All fields are required. Comments will appear at the bottom of the article.