Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Pound for pound, the amoeba is the most vicious animal on earth.


computers / comp.text.pdf / Re: Acrobat Distiller command line usage on Macs

SubjectAuthor
* Acrobat Distiller command line usage on MacsAnuj Shah
`- Re: Acrobat Distiller command line usage on Macsken

1
Acrobat Distiller command line usage on Macs

<ffb0a009-d5b3-461e-aa44-f735ec30c550n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=155&group=comp.text.pdf#155

  copy link   Newsgroups: comp.text.pdf
X-Received: by 2002:ae9:e317:0:b0:74d:f84c:a132 with SMTP id v23-20020ae9e317000000b0074df84ca132mr1982559qkf.9.1682889861608;
Sun, 30 Apr 2023 14:24:21 -0700 (PDT)
X-Received: by 2002:a25:3448:0:b0:b9a:6369:c3a4 with SMTP id
b69-20020a253448000000b00b9a6369c3a4mr4576465yba.3.1682889861246; Sun, 30 Apr
2023 14:24:21 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!1.us.feeder.erje.net!feeder.erje.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.text.pdf
Date: Sun, 30 Apr 2023 14:24:20 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=24.4.31.41; posting-account=nu52hwoAAABlGl5_7pGx_g2FfWc-HQrp
NNTP-Posting-Host: 24.4.31.41
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ffb0a009-d5b3-461e-aa44-f735ec30c550n@googlegroups.com>
Subject: Acrobat Distiller command line usage on Macs
From: anuj.for@gmail.com (Anuj Shah)
Injection-Date: Sun, 30 Apr 2023 21:24:21 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2272
 by: Anuj Shah - Sun, 30 Apr 2023 21:24 UTC

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

Re: Acrobat Distiller command line usage on Macs

<MPG.3eb97d0c85c773369898db@usenet.plus.net>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=156&group=comp.text.pdf#156

  copy link   Newsgroups: comp.text.pdf
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail
NNTP-Posting-Date: Mon, 01 May 2023 07:39:50 +0000
From: ken@spamcop.net (ken)
Newsgroups: comp.text.pdf
Subject: Re: Acrobat Distiller command line usage on Macs
Date: Mon, 1 May 2023 08:39:50 +0100
Message-ID: <MPG.3eb97d0c85c773369898db@usenet.plus.net>
References: <ffb0a009-d5b3-461e-aa44-f735ec30c550n@googlegroups.com>
Reply-To: ken@spamcop.net
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
User-Agent: MicroPlanet-Gravity/3.0.4
X-Antivirus: Avast (VPS 230501-0, 1/5/2023), Outbound message
X-Antivirus-Status: Clean
Lines: 34
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-vfTMJPyw4MaRtWd5SGNIJ1R+dil5RVK5hTGCZbo7B11WEXsxP3mTAlzdIThRdk+uDneeosDrcg2NglQ!S1UehBmJY/SSMAl1kQoT1bwROoghn/NZvTnQ6x+ULRS91wS88cWMflZZLLNNHqiGxosXkhvUjpmA!+8FJxtm8qFlC2QlW4A==
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
 by: ken - Mon, 1 May 2023 07:39 UTC

In article <ffb0a009-d5b3-461e-aa44-f735ec30c550n@googlegroups.com>,
anuj.for@gmail.com 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

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor