In article <
[email protected]>,
[email protected] says...
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.
I could be mistaken, but.....
The command line parameters you have listed there are for *Ghostscript*
and it's pdfwrite device. It's possible Adobe Acrobat uses the same
command line switches, but I seriously doubt it. Certainly the
documentation I can see doesn't use those switches.
1) Where is the documentation for this stuff, almost impossible to find?
What little documentation there is, is in the Acrobat Distiller API
Reference. You can find copies of it on the web. It seems like Adobe
doesn't really want you to use the command line though.
Ken
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)