Hi, I am having the problem of running ps2pdf from a python script.
From the command line, ps2pdf works just fine. However, when I tried the following code:
os.chdir("/tmp/test") # file.ps resides in this dir
os.system("ps2pdf file.ps file.pdf")
The script generated an empty file.pdf with no pages.
Does anyone know why?
Thanks.