Solved

Getting Network Printers

Posted on 2003-12-11
4
210 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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

832 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