I am making a program that counts the number of pages that a person in a networked computer prints. the network has one shared printer. My problem is that I dont know how to use WIN API functions because I am new to c++ programing . Anyone willing to give me an example of a print spooler code for this task or even a link to one will be of great help. Thanks in advance.