Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Print spooler Capture Number of copies

Status
Not open for further replies.

mattKnight

Programmer
May 10, 2002
6,230
GB
I have a component that watches the printer queue fro accounting purposes. I need to be able to capture the number of copies requested from the print dialog box.

AFAICS the print spooler sees a request for say 2 copies and queues 1 job accordingly, is there any way to discover that the job is actually 2 copies of the same document.

I discovered the JOB_INFO_3 structure that shows information on links between jobs, but I am not sure what "Linked" means in this context.

My question, does the spooler expose, somehow the number of copies printed?, in this inherent in the Total page count? Or do I have to hook the printer dialog box (is that possible?)?



Take Care

Matt
If at first you don't succeed, skydiving is not for you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top