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