Solved

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

Posted on 2004-04-19
2
367 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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…
Fine Tune your automatic Updates for Ubuntu / Debian
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

910 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now