Skip to main content
New Participant
April 30, 2023
Question

Acrobat Distiller command line usage on Macs

  • April 30, 2023
  • 3 replies
  • 1572 views

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 has been closed for replies.

3 replies

JR Boulay
Community Expert
May 3, 2023

Is the CLI mode a requirement?

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

Acrobate du PDF, InDesigner et Photoshopographe
New Participant
March 8, 2024

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

Bernd Alheit
Community Expert
May 1, 2023
Brainiac
May 1, 2023

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?

Brainiac
May 1, 2023

(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).