Winspool.drv

klone

Member
Joined
Jul 11, 2004
Messages
8
Currently Im 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...
 
Thanx

Just visited the link u posted. seem to be what I need. Ill keep u informed. Thanx again.
 
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.
 
Ive seen the dll produced by Merrion. As a matter of fact I downloaded the test copy but unfortunately ive 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
 
Back
Top