The routine that uses Ghostscript to convert postscript output into JPEG uses the following 7 parameters:
ps2jpg (name of Ghostscript instance, always ignored)
-dNOPAUSE
-r200 (default resolution of 200 pixels per inch)
-dJPEGQ=75 (jpeg quality level)
-sDEVICE=jpeg
-sOutputFile=[postscript file path]
[PDF output file path]
where:
[postscript file path] is the path of the postscript file, and
[PDF output file path] is the path of the PDF output file
When the report is set to landscape orientation, the following parameters are also included:
-c
<</Orientation 3>> setpagedevice
-f
See the Ghostscript Usage and JPEG File Format documentation for details on the above parameters.