Open Tech Support
Open Tech Support Archives
Back to HomeCommunityReviewsGuidesDownloadsTech LinksMarketplaceContact Us
 »  SITE NAVIGATION
»  OTS Home
»  OTS Forums
»  OTS Archives

»  About our site
»  Search our site
»  Support our site

»  What is this site?
»  Who are we?
 
 
 »  ADVERTISMENT
 
  Pages: 1

Remote Printer Installation (for all users)

(Click here to view the original thread with full colors/images)


Posted by: psychonaut2000

Here's what I've done so far:

1. created the following CMD file and called it ALLPRINT:

rundll32 printui.dll,PrintUIEntry /ga /c\\%1 /n\\%2
start /wait sc \\%1 stop spooler
start /wait sc \\%1 start spooler

2. created a CMD file for each printer install as follows:

ALLPRINT (workstation-name) (PrintServer)\(PrinterName)

QUESTIONS:

-If I have a list of all our workstation names how can I write a batch file that will plug them into number 2 above so that the printers in question will be installed to all the workstations in my list?

-How do I edit this line:

rundll32 printui.dll,PrintUIEntry /ga /c\\%1 /n\\%2

...so that no workstation name is required and the printer will be automatically installed on the workstation from which the command is run?



 
Copyright 2000-2008 Open Tech Support.  All Rights Reserved.  Site Design and Development by Tolitz Rosel.