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 steps I need to follow in order to monitor the queues and store the info eg have a counter to count the number of pages printed by a specific username. I have a a brief look on the web and I have had no problem finding limited VB.NET stuff, but I want C# examples, and I would like to work with the windows API's, instead of downloading a component, because then most likely I will have to buy the component... So I was wondering does anyone here know how to do this, or know of any C# resources that explain this concept well
I am not an exteme newbie to c# but I am still learning and I would like to make this my "learning" project, so any help/suggestions on this topic will be immensly appreciated
Thanks in advanc
Kevi 4 2824
Take a look at the System.Management namespace classes, these are simple
wrapper arround WMI, and WMI contains a number of CIM classes to manage
printers and print queues.
Search MSDN for win32_printer.
Willy.
"Kevin" <an*******@discussions.microsoft.com> wrote in message
news:14**********************************@microsof t.com... Hi all
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 steps I need to follow in order to monitor the queues and store the info eg have a counter to count the number of pages printed by a specific username. I have a a brief look on the web and I have had no problem finding limited VB.NET stuff, but I want C# examples, and I would like to work with the windows API's, instead of downloading a component, because then most likely I will have to buy the component... So I was wondering does anyone here know how to do this, or know of any C# resources that explain this concept well.
I am not an exteme newbie to c# but I am still learning and I would like to make this my "learning" project, so any help/suggestions on this topic will be immensly appreciated.
Thanks in advance Kevin
Thanks Willy
Will check it ou
Kevin
Take a look at the System.Management namespace classes, these are simple
wrapper arround WMI, and WMI contains a number of CIM classes to manage
printers and print queues.
Search MSDN for win32_printer.
Willy.
"Kevin" <an*******@discussions.microsoft.com> wrote in message
news:14**********************************@microsof t.com... Hi all
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 steps I need to follow in order to monitor the queues and store the info eg have a counter to count the number of pages printed by a specific username. I have a a brief look on the web and I have had no problem finding limited VB.NET stuff, but I want C# examples, and I would like to work with the windows API's, instead of downloading a component, because then most likely I will have to buy the component... So I was wondering does anyone here know how to do this, or know of any C# resources that explain this concept well.
I am not an exteme newbie to c# but I am still learning and I would like to make this my "learning" project, so any help/suggestions on this topic will be immensly appreciated.
Thanks in advance Kevin
Thanks Willy
Will check it ou
Kevin This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Red Dragon |
last post by:
Can someone kindly advice me how to send the print result to the printer
instead of to the monitor in a C program?
printf is the code to send to monitor. What is the code to send to printer?...
|
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...
|
by: Sarah |
last post by:
I would like my vb.net software running on an independent system be able to
read the data going from a proprietary system to a dot-matrix printer. Few
questions - are there any commercially...
|
by: prithvis.mohanty |
last post by:
Hi all,
I need to monitor printer spool. What I want to do is. When ever user
try to print something from any application , the print job should be
paused in the spool and it should popup a...
|
by: prithvis.mohanty |
last post by:
Hi all,
I need to monitor printer spool. What I want to do is. When ever user
try to print something from any application , the print job should be
paused in the spool and it should popup a...
|
by: Alex |
last post by:
Hi everyone,
We're trying to write a script that will monitor 6 email addresses and
if an email arrives it will print to a specific network printer based
on the email address. So if the address...
|
by: george |
last post by:
Hi group, I am new to this group and since I didn´t find anything on
Internet related to my problem I wanted to know if anyone know or may
help me.
What I have to do is:
- Monitor a Network...
|
by: =?Utf-8?B?Qm9vazIwNDc=?= |
last post by:
I am stumped. I lost my printer about a week ago and cannot reinstall it.
When I try it tells me that the specified print monitor cannot be found. I
have a Dell computer with Windows XP and a...
|
by: lyra via DotNetMonster.com |
last post by:
hello! is anyone here familiar with Printer Monitor Component? im using
microsoft .NET framework version 3.5 but i cant find that component. can
anyone help me with this? i really need it... tnx!
...
|
by: Steve |
last post by:
Hi All
I am using vb.net 2005 in a windows forms application
I send data to the selected windows printer using a PrintDocument object
Is there any way to detect if the Printer is not...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |