query installed printers on remote workstations using VB, - or something already available

Posted on 2008-11-07
Last Modified: 2013-11-11
I'm currently in the middle of automating my printers through Group policy and some logon scripts. I need to find out what users have set as their default printer and what printers they also have currently connected.. network and local would be nice. Are there any classes as part of the framework that I can use for this.. ideally some kind of function like getprinters(machinename as string) and have it return a name of printer and wheather or not it is the default and maybe other properties about that printer.

If there are some free tools out there or some relativly cheap ones that would be nice. Apprecaite any help


Question by:kevboz
    LVL 26

    Expert Comment

    by:Anurag Thakur
    i am not an expert on the subject and i just think that the question has been posted in a wrong zone becasue the questions most likely belongs to windows adminstration zone

    anyways my recommendation that you should be able to read the registry through the log on scripts and then be able to find all the printers (default and other installed) for the logged in user.
    also have a look at the following EE solution to a question somewhat similar to what you are asking
    LVL 26

    Expert Comment

    by:Anurag Thakur
    the link in my comment suggest something what the author is looking for

    Accepted Solution

    I was hoping to use some dot net classes to find what printer people currently have installed. I found another way to do what I wanted through some scripts. Your solution is more of a how to map printers.. I'll give you 1/2 the points and close it out because
    I used some of the scripts here to accomplish what I wanted.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Just a quick little trick I learned recently.  Now that I'm using jQuery with abandon in my applications, I have grown tired of the following syntax:      (CODE) I suppose it just offends my sense of decency to put inline VBScript on a…
    ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now