File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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....
I agree. Here's the link:
subject: PrintJobListener Always returns "printJobNoMoreEvents"
It's not a secret anymore!