Scripting Printer Installation with PrintUI.dll
Printer installation can be made into a scripting process very easily by use of the PrintUI DLL. Here is how to do it.
In certain network situations it can be very beneficial to script the installation of printers based on physical location, username, group membership, etc. One of the most used methods of doing this is through PrintUI.dll.
The following command will install a printer named “LabA’ that is shared off of a printer server called “FacilityA”:
rundll32 printui.dll,PrintUIEntry /ga /n\FacilityALabA /y
PrintUI.dll has several switches that can do almost any type of printer manipulation you could possible image. To view all of these switches you can type:
rundll32 printui.dll,PrintUIEntry /?
Article written by MyComputerAid.com
2003 server - Sep 30, 2008 22:34 - 0 Comments
instant messaging srv records
More In Computers & PC
- Howto secure wordpress
- Simple wordpress upgrade from SSH howto
- permanently delete your facebook account
- Creating a Sound File
- Talking to the Mouse
Microsoft Outlook - Mar 22, 2009 11:22 - 0 Comments
Outlook: Duplicates in Mailbox
More In Computers & PC
- Howto secure wordpress
- Simple wordpress upgrade from SSH howto
- permanently delete your facebook account
- Creating a Sound File
- Talking to the Mouse
Microsoft Desktop, Web browsers and Internet, Windows 2000, Windows 7, Windows 98, Windows Firewall and networking, Windows Vista, Windows XP - Feb 8, 2010 18:09 - 0 Comments
Disable Proxy settings in IE
More In Computers & PC
- Howto secure wordpress
- Simple wordpress upgrade from SSH howto
- permanently delete your facebook account
- Creating a Sound File
- Talking to the Mouse
Leave a Reply
You must be logged in to post a comment.