Solved

Getting Network Printers

Posted on 2003-12-11
4
213 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Problem to copy file 14 88
"The resource cannot be found" 1 41
Building an object from several other objects 4 36
How does this modal work? 3 33
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

734 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