On a single-PC System (ie. No network) running Windows 98, what do you guys think is the best way of checking whether a printer is connected, on line and has paper?

The program I am runnning sits in the background performing tasks, but it can generate printed output. What happens though if the printer isn't there is that eventually the spooler passes an error back to VB.

By then the program will have output 60% of the info and forotten it (It's working in real-time).

So any suggestions?

Basically how do I check that the default printer is connected, on and on-line?

Thanx in advance guys


Pigmy