hi guys:
i tred to get printing jobs info via API EnumJobs(),and it worked but fellow items were set to zero at times,this 2 item belong to JOB_INFO_2,why EnumJobs() failed to get the appropriate value of
DWORD TotalPages;
DWORD Size;
thank you
Printable View
hi guys:
i tred to get printing jobs info via API EnumJobs(),and it worked but fellow items were set to zero at times,this 2 item belong to JOB_INFO_2,why EnumJobs() failed to get the appropriate value of
DWORD TotalPages;
DWORD Size;
thank you
What do you mean with "failed to get the appropriate value of?"
Quote:
Originally Posted by MSDN
i meant 'EnumJobs() failed to get the appropriate value of DWORD TotalPages&DWORD Size at times,and i've also noticed tht msdn 'Specifies the number of pages required for the job. This value may be zero if the print job does not contain page delimiting information' anyways those info are supposed to be sent into a printing server job queue already b4 printer really gets to work,we can get correct pages of paper from printer right?so if EnumJobs() can't abstract total pages of a single printing job ,is there another way out