Solved

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

Posted on 2004-04-19
2
370 Views
Last Modified: 2010-04-13
How to set up a new connection to shared printer (On an NT4 print server) on remote win2K PC ?
0
Comment
Question by:fab88
  • 2
2 Comments
 
LVL 16

Accepted Solution

by:
JamesDS earned 50 total points
ID: 10858443
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
 
LVL 16

Expert Comment

by:JamesDS
ID: 10860808
fab88
Out of interest, which method did you go for in the end?

Cheers

JamesDS
0

Featured Post

Backup Solution for AWS

Read about how CloudBerry Backup fully integrates your backups with Amazon S3 and Amazon Glacier to provide military-grade encryption and dramatically cut storage costs on any platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
After-hours service is a fact of life for most MSPs. While not the most pleasant aspect of the job, there are ways to make after-hours servicing a more profitable and organized enterprise.

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question