Monitor my Printers

  • Thread starter Thread starter Kevin
  • Start date Start date
K

Kevin

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
 
Look at the System.Management namespace and the Win32_Printjob WMI class
classes in MSDN.

Willy.
 
Back
Top