Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print Queue Monitor
Message
De
17/01/2005 03:34:09
 
 
À
17/01/2005 03:13:13
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
00977227
Message ID:
00977671
Vues:
33
Morning Phil,

>Hi Jim,
>
>Thats great, i really appreciate your help, it works perfectly.

You're welcome.

>What i was hoping to do was to be able to select a printer in the list and provide another list of what jobs that printer has in the queue, listing the job details including the document name etc. I beleive i need to use the getjob() and encorporate the JOB_INFO_n structure somehow but i dont know where or how to do this, if you could instruct me on how to do this or point me in the right direction I would be very gratefull
>

One pointer would be to http://www.news2news.com/vfp/?group=57&function=564 where most of the work has already been done for you. Unfortunately, member's only access to the samples. It might be worth it to you if it can save you time. Otherwise, take a closer look at your "lcbuffer" after your WS_EnumJobs API call. If there are pending jobs, it should contain what you are looking for. The JOB_INFO structures should help you decipher the content.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform