This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Java in General and the fly likes PrintJobListener  Always returns Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "PrintJobListener  Always returns "printJobNoMoreEvents"" Watch "PrintJobListener  Always returns "printJobNoMoreEvents"" New topic

PrintJobListener Always returns "printJobNoMoreEvents"

Basak Eraslan

Joined: Jun 24, 2011
Posts: 1

In my Java application I print some text and I want to get the status of the job afterwards. I used the example in , 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 should I do?

Thanks in advance.
Muthu Ananth

Joined: Jan 22, 2010
Posts: 4
I have same problem. I want to listen print job completion. Anybody help...
John Jai

Joined: May 31, 2011
Posts: 1776
Hi Muthu,

Welcome to the Ranch

You might better start a new thread and provide the exact problem you face and code you have tried which will help you better. Replying to different old threads might not get you what you wanted.
Muthu Ananth

Joined: Jan 22, 2010
Posts: 4
Thank you for your information sir....
Consider Paul's rocket mass heater.
subject: PrintJobListener Always returns "printJobNoMoreEvents"