John, Fox Power Printer can tell you the state the printer is in and you can programmaticly pause or start a printer queue (affects all machines in a network situation). You can also make the local printer queue work-offline and back on-line. FPP also does a lot more.
Check it out at
www.foxprinter.comRob.