Acrobat Distiller command line usage on Macs
I have recently signed up for using Distiller in CLI mode and I need to convert a few hundred PDFs from postscript to PDF using the Distiller install on my local machine that's here, "/Applications/Adobe Acrobat DC/Acrobat Distiller.app/Contents/MacOS/Distiller"
I am pretty close but I can't manage to get rid of the annoying Distiller window after every call. I am wondering what am I missing.
I use python and make a subprocess call, that looks like this
subprocess.run(
[DISTILLER_INSTALLATION_PATH, "--nopause", "-q", "-dBATCH", "-dNOPAUSE", f"-sOutputFile={output_pdf_path}",
f"-dPDFSETTINGS={print_job_options}", ps_file],
check=True)
However, I do this in a loop but every time Distiller expects me to close the window.
Here's my questions.
1) Where is the documentation for this stuff, almost impossible to find?
2) What am I missing when i already specify NOPause, and batch as arguments?
3) Was there an alternative where I don't go through every PS file in a single loop but provide them all at one time? In that case I don't mind having the window open and clicking close one time when they're all done.
Any help is appreciated.
Best
Anuj
