I want to know how many pages printed for a task that is given to printer through programming using c++ or vc++.
Adding some more information:
yes the file types that my program sending are DOC and PDF. After printing i need to log the data in how many pages are printed for that file for that user.
Some time i will not send total file ,i will send some selected pages or text also.
All just i wanted is how many of pages printed for that job in C++/VC++.
Tanks in advance.