: How to install a shared printer on a remote W2K pro workstation

How to set up a new connection to shared printer (On an NT4 print server) on remote win2K PC ?
fab88Asked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
JamesDSConnect With a Mentor Commented:
fab88
You can use Terminal Services to create the printer in the normal way or use the windows explorer to create the printer connection using the Printers and Faxes RPC endpoint if supported:

using Windows Explorer browse to \\servername\Printers and Faxes and use the dialog in the usual way

OR

Run this remotely using telnet or REXEC.EXE:

The following VBScript code will connect a printer device without trying to use the LPT ports. The printer device will be available from the printer dialog as a selectable device in any of the print dialogs in windows applications:

Set objWSHNetwork = CreateObject("WScript.Network")  'create network object
strConnectString = "\\server\printer"
strResult = objWSHNetwork.AddWindowsPrinterConnection(strConnectString)

Save it as a .VBS file and change the variable strConnectString to reflect your printer path

Cheers

JamesDS
0
 
JamesDSCommented:
fab88
Out of interest, which method did you go for in the end?

Cheers

JamesDS
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.