Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return number of jobs from printer queue
Message
 
 
À
07/01/2005 08:01:09
Jeffrey Havelock
Skipton Information Group
Leeds, Royaume Uni
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows 2000
Network:
Windows NT
Database:
Visual FoxPro
Divers
Thread ID:
00975027
Message ID:
00975029
Vues:
17
This message has been marked as the solution to the initial question of the thread.
Jeff,

It's covered in my How can I get the number of jobs in print queue FAQ #8114

>
>I'm new to working with API's and to be honest, am struggling in finding any relevant FoxPro examples. I want to get a handle to a printer, return the number of jobs, and then close the printer handle.
>
>Simple enough I hear you cry ...
>
>just use OpenPrinter(), ENumJobs(), ClosePrinter() functions. OK, I've got this far, I've declared the API calls in winspool.drv.
>
>Now I just need to use these functions ... HELP!!!! What values do I pass? The descriptions on MSDN are vague to say the least. Does anyone have any code similar to this or can anyone tell me how to use these API calls?
>
>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform