Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

All your files have been destroyed (sorry). Paul.


devel / comp.lang.postscript / Re: Help with command line usage

SubjectAuthor
* Help with command line usageD.B. Carter
+* Re: Help with command line usageJeffrey H. Coffield
|`* Re: Help with command line usageRoss Presser
| `* Re: Help with command line usageken
|  `- Re: Help with command line usageRoss Presser
+- Re: Help with command line usageken
`- Re: Help with command line usageluser droog

1
Help with command line usage

<e687f727-39bc-4d67-b896-6c91b231b487n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=160&group=comp.lang.postscript#160

  copy link   Newsgroups: comp.lang.postscript
X-Received: by 2002:adf:e189:0:b0:218:45f0:5c0a with SMTP id az9-20020adfe189000000b0021845f05c0amr10559327wrb.683.1655494351517;
Fri, 17 Jun 2022 12:32:31 -0700 (PDT)
X-Received: by 2002:a05:6870:a792:b0:f3:1eca:5ba6 with SMTP id
x18-20020a056870a79200b000f31eca5ba6mr5938272oao.212.1655494350943; Fri, 17
Jun 2022 12:32:30 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.128.88.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.postscript
Date: Fri, 17 Jun 2022 12:32:30 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=68.189.84.178; posting-account=MCY8ugoAAABB8ByrwM6to64U342-AcQi
NNTP-Posting-Host: 68.189.84.178
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e687f727-39bc-4d67-b896-6c91b231b487n@googlegroups.com>
Subject: Help with command line usage
From: fathedfred@gmail.com (D.B. Carter)
Injection-Date: Fri, 17 Jun 2022 19:32:31 +0000
Content-Type: text/plain; charset="UTF-8"
 by: D.B. Carter - Fri, 17 Jun 2022 19:32 UTC

Hello,
I'm trying to use Ghostscript via Autocad command line using Autolisp programming. The goal is totake multiple pdf's in a folder and create one pdf. I have the lisp writing the command line but it fails.
Here is what the autolisp file produces at the command line.

-sDEVICE= pdfwrite -dBATCH -sOutputFile=F:\Quick Plots\temp\20220617-TEST.PDF DP-L1.pdf DP-DP5.pdf DP-DP4.pdf DP-DP3.pdf DP-DP2.pdf DP-DP1.pdf

Why is failing?
(Error: /undefined in -sDEVICE=pdfwrite.)

Re: Help with command line usage

<t8irqc$m15$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=161&group=comp.lang.postscript#161

  copy link   Newsgroups: comp.lang.postscript
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: jeffrey@digitalsynergyinc.com (Jeffrey H. Coffield)
Newsgroups: comp.lang.postscript
Subject: Re: Help with command line usage
Date: Fri, 17 Jun 2022 14:30:50 -0700
Organization: A noiseless patient Spider
Lines: 21
Message-ID: <t8irqc$m15$1@dont-email.me>
References: <e687f727-39bc-4d67-b896-6c91b231b487n@googlegroups.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Fri, 17 Jun 2022 21:30:52 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="6b4e03e215beaa0432a9338295b0ffc2";
logging-data="22565"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/5SD2VHq6uGhmRpeJBi4mqQuWWy5btX2M="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101
Thunderbird/45.6.0
Cancel-Lock: sha1:3Bn+ZveQX8mf5JuMcNhQo2VTonk=
In-Reply-To: <e687f727-39bc-4d67-b896-6c91b231b487n@googlegroups.com>
 by: Jeffrey H. Coffield - Fri, 17 Jun 2022 21:30 UTC

On 06/17/2022 12:32 PM, D.B. Carter wrote:
> Hello,
> I'm trying to use Ghostscript via Autocad command line using Autolisp programming. The goal is totake multiple pdf's in a folder and create one pdf. I have the lisp writing the command line but it fails.
> Here is what the autolisp file produces at the command line.
>
> -sDEVICE= pdfwrite -dBATCH -sOutputFile=F:\Quick Plots\temp\20220617-TEST.PDF DP-L1.pdf DP-DP5.pdf DP-DP4.pdf DP-DP3.pdf DP-DP2.pdf DP-DP1.pdf
>
> Why is failing?
> (Error: /undefined in -sDEVICE=pdfwrite.)
>

You have a space between the "-sDEVICE=" and "pdfwrite" but the error
seems to show it is ignoring the space.

I don't see that the command starts with "gs" but I'm not a Windoze user.

Try "gs -h" and see if "pdfwrite" is listed under "Available devices:"

Jeff

Re: Help with command line usage

<12d3b91f-0037-4d9a-83b8-326c0d12593dn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=162&group=comp.lang.postscript#162

  copy link   Newsgroups: comp.lang.postscript
X-Received: by 2002:a05:6000:1f96:b0:21b:195b:2a2 with SMTP id bw22-20020a0560001f9600b0021b195b02a2mr9466581wrb.73.1655602405157;
Sat, 18 Jun 2022 18:33:25 -0700 (PDT)
X-Received: by 2002:a05:6808:1526:b0:32e:f98e:d56c with SMTP id
u38-20020a056808152600b0032ef98ed56cmr13894021oiw.33.1655602404538; Sat, 18
Jun 2022 18:33:24 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.128.88.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.postscript
Date: Sat, 18 Jun 2022 18:33:24 -0700 (PDT)
In-Reply-To: <t8irqc$m15$1@dont-email.me>
Injection-Info: google-groups.googlegroups.com; posting-host=173.72.12.144; posting-account=SOVadwoAAAB3h7W1MLW9kMYtEc2JW2L8
NNTP-Posting-Host: 173.72.12.144
References: <e687f727-39bc-4d67-b896-6c91b231b487n@googlegroups.com> <t8irqc$m15$1@dont-email.me>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <12d3b91f-0037-4d9a-83b8-326c0d12593dn@googlegroups.com>
Subject: Re: Help with command line usage
From: rpresser@gmail.com (Ross Presser)
Injection-Date: Sun, 19 Jun 2022 01:33:25 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Ross Presser - Sun, 19 Jun 2022 01:33 UTC

On Friday, June 17, 2022 at 5:30:53 PM UTC-4, Jeffrey H. Coffield wrote:
> On 06/17/2022 12:32 PM, D.B. Carter wrote:
> > Hello,
> > I'm trying to use Ghostscript via Autocad command line using Autolisp programming. The goal is totake multiple pdf's in a folder and create one pdf. I have the lisp writing the command line but it fails.
> > Here is what the autolisp file produces at the command line.
> >
> > -sDEVICE= pdfwrite -dBATCH -sOutputFile=F:\Quick Plots\temp\20220617-TEST.PDF DP-L1.pdf DP-DP5.pdf DP-DP4.pdf DP-DP3.pdf DP-DP2.pdf DP-DP1.pdf
> >
> > Why is failing?
> > (Error: /undefined in -sDEVICE=pdfwrite.)
> >
> You have a space between the "-sDEVICE=" and "pdfwrite" but the error
> seems to show it is ignoring the space.
>
> I don't see that the command starts with "gs" but I'm not a Windoze user.
>
> Try "gs -h" and see if "pdfwrite" is listed under "Available devices:"
>
> Jeff

You might want to use the pdfwrite2 device.

Re: Help with command line usage

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

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=163&group=comp.lang.postscript#163

  copy link   Newsgroups: comp.lang.postscript
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!buffer1.nntp.dca1.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail
NNTP-Posting-Date: Sun, 19 Jun 2022 02:36:52 -0500
From: ken@spamcop.net (ken)
Newsgroups: comp.lang.postscript
Subject: Re: Help with command line usage
Date: Sun, 19 Jun 2022 08:36:48 +0100
Message-ID: <MPG.3d18e26748c21b049898cf@usenet.plus.net>
References: <e687f727-39bc-4d67-b896-6c91b231b487n@googlegroups.com> <t8irqc$m15$1@dont-email.me> <12d3b91f-0037-4d9a-83b8-326c0d12593dn@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 220619-2, 19/6/2022), Outbound message
X-Antivirus-Status: Clean
Lines: 10
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-RuGvKLuu2+MgZmYaolWO9e3ZAIi1kR/GUjGOU8SxwNo/G+XpoetqJLrxFmLLW+A2LMiT+L0b2mvfCTX!VuiPRjwIbOTZ7ngPAFblWfNFbNKfJ/Q5kX1xVWSXHCKpuhfrnsKctNTKLC1IapJ5loiFh2DInRB3!QYprTFjeQtyhzDN7Qg==
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
X-Original-Bytes: 1447
 by: ken - Sun, 19 Jun 2022 07:36 UTC

In article <12d3b91f-0037-4d9a-83b8-326c0d12593dn@googlegroups.com>,
rpresser@gmail.com says...
> You might want to use the pdfwrite2 device.

There is no pdfwrite2 device, there is ps2write but that outputs level 2
PostScript.

Ken

Re: Help with command line usage

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

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=164&group=comp.lang.postscript#164

  copy link   Newsgroups: comp.lang.postscript
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!buffer2.nntp.dca1.giganews.com!buffer1.nntp.dca1.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail
NNTP-Posting-Date: Sun, 19 Jun 2022 02:37:03 -0500
From: ken@spamcop.net (ken)
Newsgroups: comp.lang.postscript
Subject: Re: Help with command line usage
Date: Sun, 19 Jun 2022 08:36:59 +0100
Message-ID: <MPG.3d18e272427cc2869898d0@usenet.plus.net>
References: <e687f727-39bc-4d67-b896-6c91b231b487n@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 220619-2, 19/6/2022), Outbound message
X-Antivirus-Status: Clean
Lines: 21
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-38smHFnjf4F8yU3CiEEyc2dpU6mpVZsEaJRpEph0PSh1+s8mz3bEF8xtsO2yh4iUk31wXQsq0YRAHTq!yMYrlU0XrW+kgEHQVEBDIC8AVpgR1vMRCraDPgfltta6tzp/hK29m6ttmUj9mpfj4SEYwPuCCh6p!xA7QEwpBwyXa6ay0qQ==
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
X-Original-Bytes: 2033
 by: ken - Sun, 19 Jun 2022 07:36 UTC

In article <e687f727-39bc-4d67-b896-6c91b231b487n@googlegroups.com>,
fathedfred@gmail.com says...
>
> Hello,
> I'm trying to use Ghostscript via Autocad command line using Autolisp programming. The goal is totake multiple pdf's in a folder and create one pdf. I have the lisp writing the command line but it fails.
> Here is what the autolisp file produces at the command line.
>
> -sDEVICE= pdfwrite -dBATCH -sOutputFile=F:\Quick Plots\temp\20220617-TEST.PDF DP-L1.pdf DP-DP5.pdf DP-DP4.pdf DP-DP3.pdf DP-DP2.pdf DP-DP1.pdf
>
> Why is failing?
> (Error: /undefined in -sDEVICE=pdfwrite.)

I can't see any way to get that from your stated command line. The space
between -sDEVICE= and pdfwrite should produce an 'unknown device:'
Ordinarily that ouwl read something like 'unknown device: devicename'
but in this case it is blank.

Can you quote the entire back channel output please ?

Ken

Re: Help with command line usage

<5165e9df-bbc2-45d6-aa4a-8e03a614f877n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=165&group=comp.lang.postscript#165

  copy link   Newsgroups: comp.lang.postscript
X-Received: by 2002:a05:600c:354f:b0:39c:78c8:a854 with SMTP id i15-20020a05600c354f00b0039c78c8a854mr22257254wmq.121.1655691697830;
Sun, 19 Jun 2022 19:21:37 -0700 (PDT)
X-Received: by 2002:a05:6870:d599:b0:101:652e:fae0 with SMTP id
u25-20020a056870d59900b00101652efae0mr15797081oao.285.1655691697057; Sun, 19
Jun 2022 19:21:37 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.128.87.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.postscript
Date: Sun, 19 Jun 2022 19:21:36 -0700 (PDT)
In-Reply-To: <e687f727-39bc-4d67-b896-6c91b231b487n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=24.207.219.108; posting-account=G1KGwgkAAAAyw4z0LxHH0fja6wAbo7Cz
NNTP-Posting-Host: 24.207.219.108
References: <e687f727-39bc-4d67-b896-6c91b231b487n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <5165e9df-bbc2-45d6-aa4a-8e03a614f877n@googlegroups.com>
Subject: Re: Help with command line usage
From: luser.droog@gmail.com (luser droog)
Injection-Date: Mon, 20 Jun 2022 02:21:37 +0000
Content-Type: text/plain; charset="UTF-8"
 by: luser droog - Mon, 20 Jun 2022 02:21 UTC

On Friday, June 17, 2022 at 2:32:32 PM UTC-5, D.B. Carter wrote:
> Hello,
> I'm trying to use Ghostscript via Autocad command line using Autolisp programming. The goal is totake multiple pdf's in a folder and create one pdf. I have the lisp writing the command line but it fails.
> Here is what the autolisp file produces at the command line.
>
> -sDEVICE= pdfwrite -dBATCH -sOutputFile=F:\Quick Plots\temp\20220617-TEST.PDF DP-L1.pdf DP-DP5.pdf DP-DP4.pdf DP-DP3.pdf DP-DP2.pdf DP-DP1.pdf
>
> Why is failing?
> (Error: /undefined in -sDEVICE=pdfwrite.)

Stab in the dark, but the error makes it look like the PostScript interpreter is trying
to execute the command line as if it were PostScript code. Maybe autocad is piping
directly into a running ghostscript instance and you'll need to use some other
interface in Autocad to change the way ghostscript is being invoked (assuming the
earlier guess is correct).

Re: Help with command line usage

<b0c139da-4873-476e-b11a-b73560efc41an@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=166&group=comp.lang.postscript#166

  copy link   Newsgroups: comp.lang.postscript
X-Received: by 2002:a05:600c:4fd0:b0:39c:6565:31a0 with SMTP id o16-20020a05600c4fd000b0039c656531a0mr4722126wmq.142.1655914016067;
Wed, 22 Jun 2022 09:06:56 -0700 (PDT)
X-Received: by 2002:a05:6870:9692:b0:101:ceb8:3b7c with SMTP id
o18-20020a056870969200b00101ceb83b7cmr11365884oaq.160.1655914014851; Wed, 22
Jun 2022 09:06:54 -0700 (PDT)
Path: i2pn2.org!rocksolid2!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.128.87.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.postscript
Date: Wed, 22 Jun 2022 09:06:54 -0700 (PDT)
In-Reply-To: <MPG.3d18e26748c21b049898cf@usenet.plus.net>
Injection-Info: google-groups.googlegroups.com; posting-host=165.225.9.17; posting-account=SOVadwoAAAB3h7W1MLW9kMYtEc2JW2L8
NNTP-Posting-Host: 165.225.9.17
References: <e687f727-39bc-4d67-b896-6c91b231b487n@googlegroups.com>
<t8irqc$m15$1@dont-email.me> <12d3b91f-0037-4d9a-83b8-326c0d12593dn@googlegroups.com>
<MPG.3d18e26748c21b049898cf@usenet.plus.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b0c139da-4873-476e-b11a-b73560efc41an@googlegroups.com>
Subject: Re: Help with command line usage
From: rpresser@gmail.com (Ross Presser)
Injection-Date: Wed, 22 Jun 2022 16:06:56 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Ross Presser - Wed, 22 Jun 2022 16:06 UTC

On Sunday, June 19, 2022 at 3:36:59 AM UTC-4, ken wrote:
> In article <12d3b91f-0037-4d9a...@googlegroups.com>,
> rpre...@gmail.com says...
> > You might want to use the pdfwrite2 device.
> There is no pdfwrite2 device, there is ps2write but that outputs level 2
> PostScript.
My bad then, sorry for getting them confused.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor