Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script to Install Printer

Status
Not open for further replies.

AgentM

MIS
Jun 6, 2001
387
US
Is there a script that will install a printer on Win 2K workstation?

thank you.
 
Create a batch file with the cmd line:

net use lpt1: \\printer server\print share

Run the batch. Also works with ip. Hewissa

MCSE, CCNA, CIW
 
I didn't think you needed the colon after lpt1
Also, you have to make sure you have the drivers for that shared printer installed already. If it's a newer printer, Win2k might not have the drivers.
 
On windows 2000 and Windows XP, use this script:
&quot;rundll32 printui32, PrintUIEntry <option>&quot;, put the &quot;/?&quot; for more help after the command. The command is case sensitive.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top