473,385 Members | 1,814 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Monitor my Printers

Hi All,

I am fairly new to C#, but I do have Programming
experience in VB, and the best way to learn C# is by
doing, so I want to create an application that can monitor
printers connected to my PC, via USB,LPT and possibly COM
ports. What I want to do is be able to run my app and
after a week, of people printing to my printers(My
printers are shared on the network), I want to be able to
say that bob printed x amount of documents, John printed x
amount, and even if I can, narrow it down to the actual
documents types etc. So in short, the info that I see when
I double click on my printer, I want to be able to store
that info and read from it later. I would like to know how
to capture that kind of info, Can anyone point me in the
right direction, or give me some tips?

TIA
Kevin

Nov 15 '05 #1
1 1538
Look at the System.Management namespace and the Win32_Printjob WMI class
classes in MSDN.

Willy.

"Kevin" <an*******@discussions.microsoft.com> wrote in message
news:09****************************@phx.gbl...
Hi All,

I am fairly new to C#, but I do have Programming
experience in VB, and the best way to learn C# is by
doing, so I want to create an application that can monitor
printers connected to my PC, via USB,LPT and possibly COM
ports. What I want to do is be able to run my app and
after a week, of people printing to my printers(My
printers are shared on the network), I want to be able to
say that bob printed x amount of documents, John printed x
amount, and even if I can, narrow it down to the actual
documents types etc. So in short, the info that I see when
I double click on my printer, I want to be able to store
that info and read from it later. I would like to know how
to capture that kind of info, Can anyone point me in the
right direction, or give me some tips?

TIA
Kevin

Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Aaron_TekRecycle.com | last post by:
Someone must have done this before?!? I have VBS code that will Enumerate all the Printers in the AD and Add the Printer Connection to the client... I'm just not a web developer so I need some...
0
by: Simon Thompson | last post by:
Hi, I have a VB6 ActiveX DLL that we use for printing. It iterates through the printers collection to set the printer to the one the user requested. This is called from ASP (VB Script) pages,...
1
by: Vanessa | last post by:
Hi, I'm trying to loop through all the printers in my computer system using WMI. However, I found out that it doesn't really get the correct number of printers in my system. I have 16...
4
by: Kevin | last post by:
Hi al Please can someone point me in a right direction/tell me how to go about building an appliation that can monitor the printer queue on a windows platform(2000,XP,NT and 2003). What are the...
7
by: trint | last post by:
How can I add all the network printers to a combobox? Thanks, Trint
2
by: Tessa | last post by:
Hi, We have a .net web application, and are trying to use PrinterSettings.InstalledPrinters to list the printers installed on the webserver. (Windows 2003 server R2, IIS 6, .net framework 2.0.)...
5
by: lmttag | last post by:
ASP.NET 2.0 (C#) application Intranet application (not on the Internet) Using Windows authentication and impersonation Windows Server 2003 (IIS6) Server is a member server on a domain Logged...
0
by: Ravigwipro | last post by:
Hi, I m able to get the printers object to know what are the printers had been installed and all. here my requirement is i have to write a data from VB to MS Word. for the page setup i have to...
4
by: Frank Rizzo | last post by:
I basically need a list of printers that's returned by the Find Printers dialog ( http://www.sqleffects.com/mystuff/findPrinters.png ). I've tried the path of DirectoryEntry entry = new...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.