?
Solved

Monitoring a printer's print queue

Posted on 2002-04-16
4
Medium Priority
?
354 Views
Last Modified: 2011-04-14
I am developing an application that monitors a shared network printer on a workstation from the server. How do I receive notification when a print job is sent to the printer from any other computer on the network? I need sample code that shows how I can get the name of the computer from which the job was sent, the number of pages printed and some other details
0
Comment
Question by:bmatumbura
[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
  • 2
4 Comments
 
LVL 28

Accepted Solution

by:
AzraSound earned 200 total points
ID: 6945318
0
 
LVL 1

Expert Comment

by:olx
ID: 6945871
as allways, Azra is right
0
 
LVL 11

Author Comment

by:bmatumbura
ID: 6949862
AzraSound:

I tried the sample. It could not log any printer jobs on Windows 2000 Server. I did not change anything in the application's source. Does it work in Win2K?
0
 
LVL 28

Expert Comment

by:AzraSound
ID: 6950604
I would have no idea.  Your best bet would be to contact the author of that code.  Karen is always very kind to respond to questions regarding her code.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

800 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