title: How to set custom page size with Ghostscript
body: <p>I have scanned some materials at 600 dpi, ~ 9.36x12.67 inches and prepared in PostScript (PS) format.  </p>
  
  <p>Now when I try to transform PS to PDF with Ghostscript (GS), I get clipped output, as I assume GS's default page size is set to A4. I found available templates for GS here: <a href="http://www.ghostscript.com/doc/9.06/Use.htm#Known_paper_sizes" rel="noreferrer">http://www.ghostscript.com/doc/9.06/Use.htm#Known_paper_sizes</a> but none matches closely to dimensions of my PS files, so:</p>
  
  <p>Can I instruct GS to output custom size, and if so how?</p>
  
  <p><code>-sPAPERSIZE</code> instruction seem to accept only predefined templates name, as in linked documentation.</p>