How to get the number of copies from a print job?

I need to get the number of copies of the print job. I have information in the record JOB_INFO_1, but there is no field for the number of copies. How can I get this value?

+5
source share
1 answer

Instead of JOB_INFO_1, you will need to create a JOB_INFO_2 structure that has a pointer to a DEVMODE structure, which in turn has a field with multiple copies. JOB_INFO_2 can be obtained using GetJob, as JOB_INFO_1.

+11
source

All Articles