CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2005
    Posts
    73

    Arrow why EnumJobs() lost something?

    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

  2. #2
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    Re: why EnumJobs() lost something?

    What do you mean with "failed to get the appropriate value of?"

    Quote Originally Posted by 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.
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

  3. #3
    Join Date
    Jan 2005
    Posts
    73

    Re: why EnumJobs() lost something?

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured