Solved

Getting Network Printers

Posted on 2003-12-11
4
208 Views
Last Modified: 2010-04-16
Hi,
   I have question on networking printers. I have to write a small program on getting all the network printers.

How do i start with this?

Program should pull up: Print Server, Print Description, and IP

0
Comment
Question by:puja24
4 Comments
 
LVL 7

Accepted Solution

by:
TransBind earned 200 total points
ID: 9925013
Check this link out:
This API function can enumerate all network resources, including servers, workstations, printers, shares, remote directories etc. Perhaps it can be of some help.

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=741&lngWId=10
0
 

Author Comment

by:puja24
ID: 9928100
Thanks

   If I run this code, it will give me printerName, printer server name, IP, and description

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
Introduction                                                 Was the var keyword really only brought out to shorten your syntax? Or have the VB language guys got their way in C#? What type of variable is it? All will be revealed.   Also called…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

895 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

13 Experts available now in Live!

Get 1:1 Help Now