Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Script which will identify installed printer objects and pass names as system variables

 
Logged in as: Guest
arrSession:exec spGetSession 2,2,35488
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Script which will identify installed printer objects and pass names as system variables
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Script which will identify installed printer objects an... - 6/16/2006 2:18:32 AM   
  xaviorinc

 

Posts: 25
Score: 0
Joined: 4/24/2006
Status: offline
I am wondering if anyone has any ideas for a script which will identify installed printer objects corresponding to specific printer driver and return them as defined to newly created sytem variables. 

I can find the list of all printer objects in the following locatin in registry:

HHKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers

Reason i need that is because application i am using will use those names to remove the printer object unless you know of a way for script to remove it as well.

Thanks,
 
 
Post #: 1
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> WSH & Client Side VBScript >> Script which will identify installed printer objects and pass names as system variables Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts