Word print do not initialize devmode correctly

V

vijay

Hi I am developing port monitor for printer monitor
I want to log number of pages printer by user.
So in EndDoc callback function I use GetJob with Job_info_2
I am using Job_info_2.PagesPrinted (also triedTotalPages) member variable
to get that information.
When I print 1 page with multiple copies. this member containes 1 instead of
number of copies.
I also check Job_info_2.pDevmode.dmCopies field it is always one??
For more than one page it reports correct number.

vijay
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top