- Windows XP Professiona (Service Pack 3), 32 bit
- TexStudio 2.11.2
- MikTex 2.9
- GPL Ghostscript 9.20 (32 bit)
I have configure TexStudio's "Build & View" to DVI>PS>PDF Chain.
When I am compiling the .tex file, the .ps file gets generated. Then TexStudio is trying to run ps2pdf command on the generated .ps file to generate the corresponding .pdf file and it gets an error, saying - "C:\Program Files\MikTex 2.9\miktex\bin\mgs.exe is not a valid Win32 application". And it does not generate the .pdf. However, when I am trying to convert the .ps file using other program (Arobat Distiller), .pdf file is generated correctly which means the .ps file is absolutely correct.
I have digged in many online posts to solve this issue on my own, but with no success. Please help me in this regard.