Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

PrintJobListener Always returns "printJobNoMoreEvents"

 
Basak Eraslan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have same problem. I want to listen print job completion. Anybody help...
 
John Jai
Rancher
Posts: 1776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for your information sir....
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic