Java Printing and spooling issues

I am currently using the Java Printing for printing labels to a label printer just fine. There is absolutely no issues there. The issue is, I want to know when the label printer is out of labels, or the label printer is turned off or unplugged.

I am currently using a print job listener. However, if I unplug the printer, or take the labels out, the job still spools and I don't get an error back in java to any of the listeners. It always completes properly in Java.

Then if I turn the printer back on, or put the labels back in, then they print. I would rather get a error back and pop a dialog up. Any help there?

[636 byte] By [jflongoa] at [2007-11-27 8:33:29]
# 1
Anyone?
jflongoa at 2007-7-12 20:29:39 > top of Java-index,Java Essentials,Java Programming...
# 2

floggo,

Too hard to do generically across all the different printers. That's why nobody does it, not even microshite who has somehow managed to bully all the peripheral manufacturers into sending beta versions to microsoft (for some pre-release reverse engineering) in order to earn a wee XP-Compatible sticker.

Take my advice and drop it... If you can't take my advice then I wish you the very best of British luck.

Keith.

corlettka at 2007-7-12 20:29:39 > top of Java-index,Java Essentials,Java Programming...
# 3
> microshite ?:-) ;-)
achyuthba at 2007-7-12 20:29:39 > top of Java-index,Java Essentials,Java Programming...
# 4
I believe it's the Scottish pronunciation.
corlettka at 2007-7-12 20:29:39 > top of Java-index,Java Essentials,Java Programming...