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

Automated Printer Installation & Removal

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


Posted by: psychonaut2000

We've been rolling out new network printers at several locations. I'd like to automate installation for users. So far I've found a nifty command line I can place in users' login scripts to add the new printers:

rundll32 printui.dll,PrintUIEntry /in /n\\Server\Printer

I've got a couple questions about this:

1. Will this install the printer for all users or only the logged in user?

2. We're going to pull the old printers once the new devices are installed. Is there a command line entry I can add before this one which will *remove* all installed printers?


I have one other, unrelated question:

If I write a batch file and I'd like there to be a pause between execution of one command and execution of the next how can I do this? For example, lets say I was making a batch file which would remove all installed printers, install all desired network printers, and restart the print spooler. Suppose I wanted a 30 second pause between removing the old printers and installing the new ones. How can I do this????

Thx in advance!!



Posted by: chasky

I'm very new about it.... It just happened it that I found this page:
http://support.microsoft.com/?kbid=189105

Quite useful.... Try rundll32 printui.dll,PrintUIEntry /? for help.



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