When i use the code API with EnumJobsA some times i can't read the number of pages, when a print a document to win 2000 from win 98. I can find the size, the username, but not the Total Pages, you know some problem with this API.
18-07-2002 at 11:44 PM
|
Merrion Level: VB Guru Registered: 15-04-2002 Posts: 37
Re: Print API problem Archived to Disk
Are you using Job_info_1 or Job_info_2 structures?
The MSDN text states that "This value may be zero if the print job does not contain page delimiting information." so I'm guessing your Win98 printer driver is not putting page delimiting info in...try a job with explicit page breaks (using EndPage API).