I'm making an application that allows our users to view and print HTML files. They asked me for some kind of functionnality that would keep track of how many sheets of paper have been used by printing from that application.

Since I'm displaying the HTML files in a WinForm WebBrowser control, I use its Print() method to send the file to the printer. However, I can't find how I could know how many pages exactly have been printed each time I send a print job.

Do you guys have any clue of what I could do to get that info?