Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return number of jobs from printer queue
Message
From
07/01/2005 08:01:09
Jeffrey Havelock
Skipton Information Group
Leeds, United Kingdom
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Return number of jobs from printer queue
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows 2000
Network:
Windows NT
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00975027
Message ID:
00975027
Views:
57
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
Next
Reply
Map
View

Click here to load this message in the networking platform