Need help with printer driver for capturing printer statistics

Need help with printer driver for capturing printer statistics

Post by U3JlZWppdG » Wed, 25 Feb 2004 19:56:05


hi all

Is it possible to install rendering plugins on currently installed windows printers. What I mean to say is suppose printers a,b and c have been installed on a users machine. Is it possible to insall a custom rendering plugin on all these printers so that the existing functionality isn't disturbed. Effectively I would like to insert my rendering plugin into the chain of rendering plugins if any installed by the existing printer driver installation. I am particularly intrested in the IPrintOemUni::ImageProcessing and IPrintOemUni::FilterGraphics methods. I donot want to modify any of the print data, I only want to collect some statistics like the RGB pixel count etc

That said, any other alternative strategy to spy on print jobs is welcome. I am interested in collecting the RGB pixel count for every printjob

Thanks/Sreejith
 
 
 

Need help with printer driver for capturing printer statistics

Post by Ashwin [MS » Thu, 26 Feb 2004 05:10:23

You cannot install rendering plug-ins in the manner you describe. So that is
definitely not the route for you to pursue. While there is no recommended
way to achieve what you want, I suggest that you look at app hooking/shim
techniques to get the info you want using SDK level functions.

--
- Ashwin

Microsoft Printing, Imaging and Fax Team
This posting is provided "AS IS" with no warranties, and confers no rights.



printers. What I mean to say is suppose printers a,b and c have been
installed on a users machine. Is it possible to insall a custom rendering
plugin on all these printers so that the existing functionality isn't
disturbed. Effectively I would like to insert my rendering plugin into the
chain of rendering plugins if any installed by the existing printer driver
installation. I am particularly intrested in the
IPrintOemUni::ImageProcessing and IPrintOemUni::FilterGraphics methods. I
donot want to modify any of the print data, I only want to collect some
statistics like the RGB pixel count etc.
I am interested in collecting the RGB pixel count for every printjob.