Redmon to create JPG using argument file

Viewed 9

Hi I am new to Ghostscript n Redmon I created a virtual printer using GS and Redmon I want to create a JPG file. It works but I have to create two Virtual Printer for Portrait and Lanscape as both have different argument. Then I found one script file which was nothing but an commands and was used as @filename. I created similar file please but it failed to generate the jpg file. One more request if you could point out the error it will be a great help to me.

I am using windows 7 64 Bit GPL GS 9.56.1. My argument file (jpg.ini) content is as follows.

-IC:\Program Files\gs\gs9.56.1\lib;
-sDEVICE=jpeg
-r300
-dNOPAUSE
-dSAFER
-dJPEGQ=100
-sOutputFile="c:\myjpegfiles\test%%03d.jpg"

Argument for program are

@D:\myjpgfiles\jpg.ini -

Need help in following area

  1. What is wrong with the configuration why its failed to generate file?
  2. Argument file name can have any extension?
  3. How to set orientation in argument file?
  4. outputfile which is the right place does it should be inside the argument file?
0 Answers
Related