Skip to main content
Participant
Apr 30, 2023 9:27 PM UTC
Question

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

This topic is closed to new replies. Start a new post to keep the conversation going.

5 replies

JR Boulay
Community Expert
Community Expert
May 3, 2023 9:16 AM UTC

Is the CLI mode a requirement?

Converting hundreds PS files to PDF can be done easily using the Action Wizard (Acrobat Pro).

Translate
Acrobate du PDF, InDesigner et Photoshopographe
Participant
Mar 8, 2024 5:51 AM UTC

Need this done with no interaction, in fully automated mode. 

Translate
Bernd Alheit
Community Expert
Community Expert
May 1, 2023 4:17 PM UTC
Legend
May 1, 2023 10:39 AM UTC

Please can you explain what "I have recently signed up for using Distiller in CLI mode " means? Did you take a special license? Did you get a different product? Did you get documentation?

Translate
Legend
May 1, 2023 10:40 AM UTC

(PS I do know what CLI - command line interface - means. My concern is that I have never heard of any special scheme for signing up to use it).

Translate