aspose file tools*
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 Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "PrintJobListener  Always returns "printJobNoMoreEvents"" Watch "PrintJobListener  Always returns "printJobNoMoreEvents"" New topic
Author

PrintJobListener Always returns "printJobNoMoreEvents"

Basak Eraslan
Greenhorn

Joined: Jun 24, 2011
Posts: 1
Hi,

In my Java application I print some text and I want to get the status of the job afterwards. I used the example in http://www.exampledepot.com/egs/javax.print/WaitForDone.html , 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
Greenhorn

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

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
Greenhorn

Joined: Jan 22, 2010
Posts: 4
Thank you for your information sir....
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: PrintJobListener Always returns "printJobNoMoreEvents"