Info on WINSPOOL.PAS
Posted on 1998-09-18
I need to count the pages printed from a PC. Printing is done from delphi applications I wrote, so I have control of th e print button. The problem is that some of the printing is done from a WebBrowser component for which I only call a method Print. In other words I can code that runs when the user clicks on the print button. It looks like there is enough functionality in WINSPOOL.PAS to do this querying info from Print MAnager. Does anybody know how to do this ? I am thinkg of a function that would read info from print manager right after the print button is clicked. Events would be even better.