title: javax.print.PrintException: Printer is not accepting job
body: <p>I am getting the "<code>javax.print.PrintException: Printer is not accepting job."</code>, when I try to execute</p>
  
  <pre><code>printService.createPrintJob().print(
                      new SimpleDoc(this,
                              DocFlavor.SERVICE_FORMATTED.PRINTABLE,
                              docAttributeSet),
                      printRequestAttributeSet);
  </code></pre>
  
  <p>I am seeing this problem happening for one machine printing to the printer but the other machine is able to print to the same printer using the same API call. I was looking at bug report from Oracle Sun explaining similar problem which is pasted below.
  <a href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6525150" rel="noreferrer">http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6525150</a></p>
  
  <p>But none of the workarounds mentioned there is fixing the problem for me. Any help is appreciated. </p>