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 2833
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: 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: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
| |