Jump to content
Xtreme .Net Talk

Recommended Posts

Posted
Currently I'm working on a printer monitoring project. The aim of the project is to monitor a printer and be able to tell the # of pages printed by the printer, the user who sent the print job and things of that sort. At the moment am using WMI to achieve this... the problem is the application is too slow and a lot of memory is used... so am wondering it there is anyway I could get a documentation of the class/functions contained in windows winspool driver so that i can use it instead of WMI. Please help me...
  • *Experts*
Posted

One of the problems of using the windows API for this (believe me, I have a lot of difficult experience in this area) is that some applications do not give the correct number of copies to the spooler monitor. For instance Microsoft Word passes different number of copies depending on whether or not the collation options are set....

 

Instead you need to parse the spool file and count the number of pages it contains.

Printer Monitor for .NET? - see Merrion Computing Ltd for details
  • 4 weeks later...
Posted
I've seen the dll produced by Merrion. As a matter of fact I downloaded the test copy but unfortunately i've been unable to use it. What I ask for if u can help me is how to lay hands on the Winspool.drv documentation. I notice that u guys did not use WMI as a matter of fact u used Winspool.drv and I feel its the way to go. So pls send me a link. Thanks

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...