|
[Java Printing]
I'm developing a printing functionality using Java Print Service API.
I found the way to send escape codes to the printer, but I don't know how to retrieve a printer feedback or how to ask to the printer if it has paper, and other function issues like lost of communication...
I use the javax.print.event but just the events printDataTransferCompleted and printJobNoMoreEvents works fine. Even when I turn off the printer, disconnect the cable, let it without paper, no other event is fired.
Does anybody know how to get this kind of response from a printer using java?
Thank you very much for any help
|