printer problem

hello,
here is a prob.

suppose i will print a document. the printer spoller collects all the datas & my program in WIN32 can trap all the datas in the spoller.

here i m getting total no of pages in one document for a particular print job.but i want the following...

1. suppose i will give 2 copies (more than 2 copies) in the
print dialog and put sufficient paper in tray than it is not giving the total no of pages to be printed. WHY /?

2. if any one knows how to calculate the total no of pages printed for a job (with single copy as well as multiple copies) than please help in this regards...

here i m taking ENUMPRINTERS & ENUMJOBS APIs for all the information .

i m getting all the spoller information in ENUMJOBS.except the no of pages ...i m testing in samsung ML-4600 PCL 6 printer.

is the page count is printer specific ? i dont think so ...
otherwise no apis should have a data like pagecount...or so..

if any one knows please try to solve this prob 7 quickly inform me ...

if any information is required from my side ,,,i will help...

regards
skpanda
[1178 byte] By [skpanda] at [2007-11-18 15:09:03]