Solved

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

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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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…
The advancement in technology has been a great source of betterment and empowerment for the human race, Nevertheless, this is not to say that technology doesn’t have any problems. We are bombarded with constant distractions, whether as an overload o…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

856 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