borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (TRICKY PROGRAMMING -PRINT IN VB)Next Topic (Thanks but ...) New Topic New Poll Post Reply
AndreaVB Forum : Printing : Print API problem
Poster Message
cado.mail
Level: Guest


icon Print API problem  Archived to Disk

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
| Quote Reply
Merrion
Level: VB Guru

Registered: 15-04-2002
Posts: 37
icon 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).

Hope this helps,
  Duncan

____________________________
--8<------------------------------
Free components and source code - see http://www.merrioncomputing.com/Download/index.htm for details

19-07-2002 at 10:26 AM
View Profile Send Email to User Show All Posts Visit Homepage | Quote Reply
AndreaVB Forum : Printing : Print API problem
Previous Topic (TRICKY PROGRAMMING -PRINT IN VB)Next Topic (Thanks but ...) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder