title: GhostScript PDF to PCL Black and White with No Grayscale
body: <p>I have a process to convert PDFs to PCL for automatic printing, but the quality is not good. Here's the test code that I have to show the poor quality:</p>
  
  <pre><code>gs -dBATCH -dNOPAUSE -q -sDEVICE=ljetplus -sOutputFile=grayscaletest.pcl -f grayscaletest.pdf
  </code></pre>
  
  <p>Here's what grayscaletest.pdf looks like before: <a href="https://i.stack.imgur.com/kQWuy.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kQWuy.png" alt="grayscaletest.pdf"></a> And what grayscaletest.pcl looks like after: <a href="https://i.stack.imgur.com/FfpBQ.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FfpBQ.png" alt="grayscaletest.pcl"></a></p>
  
  <p>I realize that it's doing this because of the device ljetplus, but that's the only device that I have found that will work for what I need. So, I want to convert all grays to black. I have tried the solution found <a href="https://gist.github.com/bzxbot/6967e074130b86d5df2c" rel="nofollow noreferrer">here (GitHub)</a> and <a href="https://superuser.com/questions/200378/converting-a-pdf-to-black-white-with-ghostscript">here (superuser)</a>, but it did nothing. I can't even get this solution to work from PDF to PDF, it just stays the same. </p>
  
  <p>GhostScript version is 9.06. Any help either improving the quality using ljetplus, or just converting everything to black and white without grayscale would be appreciated.</p>