title: Ghostscript preview on macOS
body: <p>I'm trying to get GhostScript 9.20 working on macOS 10.11 El Capitan. The problem is that I can't generate any preview. The PS file is very simple and looks as below:</p>
  
  <pre><code>%!PS-Adobe-2.0
  % The indispensable Hello World program in PostScript
  &lt;&lt;
    /PageSize [595 841]
  &gt;&gt; setpagedevice
  /Times-Roman findfont 60 scalefont setfont
  50 600 moveto
  (Hello World) show
  showpage
  </code></pre>
  
  <p>When I invoke gs interpreter I get only following result:</p>
  
  <p><a href="https://i.stack.imgur.com/f998M.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/f998M.png" alt="console output"></a></p>
  
  <p>And no preview.</p>
  
  <p>No problems on Ubuntu though. If someone is familiar with working with GhostScript on macOS, help would be much appreciated.</p>