title: GPL Ghostscript 9.10: **** Could not open temporary file '' **** Unable to open the initial device, quitting
body: <p>I am running the batch file for compressing pdf through GhostScript. I am able to pass parameters and run the batch file from java. But, i get the following error,</p>
  
  <p>GPL Ghostscript 9.10: <strong>** Could not open temporary file ''
  **</strong> Unable to open the initial device, quitting.</p>
  
  <p>But this doesn't occur when i separately the batch file.</p>
  
  <pre><code>gswin32c -dNOPAUSE -sDEVICE=tiff24nc -r300 -sCompression=lzw -sOutputFile=%1 
  "C:/source.pdf" 
  </code></pre>
  
  <p>Thanks, 
  Pavithra M</p>