title: How to access the status of the printer?
body: <p>I need to know the Printer Status. I need to control the Printer Status using Java Program. 
  Example </p>
  
  <ol>
  <li>Check the Printer status, weather will it accept the Job or not,</li>
  <li>Out of Paper</li>
  <li>Printer queue</li>
  <li>Toner</li>
  <li>and etc..</li>
  </ol>
  
  <p>I know there is  a way to check the basic information, such as name, color supported or not. But I can't find any example to check paper, toner, job queue. I like to know if it is possible to using Java API. I found big API for printer function, but they didn't give a simple example how to use it.</p>