Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I get the number of jobs in print queue
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00737034
Message ID:
00742969
Vues:
36
The EnumJobs function works with three different structures: JOB_INFO_1, JOB_INFO_2, and JOB_INFO_3, depending on the information level value: 1..3 you call this function with.

Here is a MSDN link for the JOB_INFO_1:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdi/prntspol_6gvm.asp

The first member for each structure is JobId -- DWORD. Check FoxPro declaration for this function and a sample code at http://www.news2news.com/vfp/?function=564

A number of jobs sample code (using GetPrinter function, not EnumJobs)
http://www.news2news.com/vfp/?example=367
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform