Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return number of jobs from printer queue
Message
De
07/01/2005 08:01:09
Jeffrey Havelock
Skipton Information Group
Leeds, Royaume Uni
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Return number of jobs from printer queue
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows 2000
Network:
Windows NT
Database:
Visual FoxPro
Divers
Thread ID:
00975027
Message ID:
00975027
Vues:
58
Hi All,

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?

Kind Regards

Jeff
Jeff Havelock
Senior Data Developer
jeff.havelock@eurodirect.co.uk
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform