PrintJobListener Always Returns "printJobNoMoreEvents"
In my Java application I send some text to be printed and I want to get the status of the job afterwards. I used the example in Determining When a Print Job Has Finished | Example Depot , however I always get the status "printJobNoMoreEvents" either the print operation has succeeded or not. I used OKI dot printer, HP laser printer and EPSON TM-U295 , but the results is the same for all of them.
By the way, I observe that Windows gets the status of the job correctly, namely it gives the error status if the job is not printed properly. Therefore I guess it may be something related with PrintJobListener interface. What shouls I do?
Thanks in advance.