Solved

Getting Network Printers

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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
C# Desktop Application 3 65
C# Gridview 1 64
C#.net split string and then check appropriate checkboxlist 4 43
Nested forach loop to linq 3 27
Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!

756 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