I have scanned some materials at 600 dpi, ~ 9.36x12.67 inches and prepared in PostScript (PS) format.
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: [updated] https://ghostscript.readthedocs.io/en/latest/Use.html#appendix-paper-sizes-known-to-ghostscript but none matches closely to dimensions of my PS files, so:
Can I instruct GS to output custom size, and if so how?
-sPAPERSIZE
instruction seem to accept only predefined templates name, as in linked documentation.