Thank you for the info. I hope that it will return the correct number jobs for a network printer also. Fingers crossed. I will post my results.
>>I followed a few threads on the ability to determine the number of jobs in a print queue but they never seem to come to a conclusion. I even tried a bit of code posted by George Tasker without success. So I was posting to see if it is possible or not and if so then could someone post the solution or point me in the right direction. Thanks.
>
>Hi Mike,
>
>While I think Bela has pretty much answered your question, there's one thing that you should be aware of. With a networked printer, the function will *may* only return the number of jobs waiting on the local machine, not the network. For that, you'd probably need to query the network OS. I'm not 100% sure on this, but from what I know of the Window's OS I think it's right.