(code below is a VFP function with syntax adjusted from VB)
LPARAMETERS
&&#DEFINE cJobs_OFFSET 77
DECLARE INTEGER
cPrinter=tcprintername
hPrinter=0
IF
ENDIF
= ClosePrinter(hPrinter)
RETURN
I found this http://www.merrioncomputing.com/Programming/PrintStatus.htm and I think my answer for creating a dll in .net may be in here but putting it together is a little beyound my current understanding of how these pieces fit.
Anyone who has solved this, knows of a third party dll that can be obtained or purchased, or who has already invented this wheel - you guidance will be greatly appreciated.
Charles
In any case, this is helping a lot in clarifying my understanding of how to do this stuff. I knew that winmgmts was the old approach but couldn't wrap my brain around how to use the wmi.
It is great to be learning .NET in an environment where people speak Fox. (I have been talking up Strataframe big-time on the UT for exactly that reason)
Both of your posts are going in the scrapbook and I'm definitely going to be making good use of this. Thanks again.