Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.postscript > #3771
| Newsgroups | comp.lang.postscript |
|---|---|
| Date | 2022-06-19 19:21 -0700 |
| References | <e687f727-39bc-4d67-b896-6c91b231b487n@googlegroups.com> |
| Message-ID | <5165e9df-bbc2-45d6-aa4a-8e03a614f877n@googlegroups.com> (permalink) |
| Subject | Re: Help with command line usage |
| From | luser droog <luser.droog@gmail.com> |
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).
Back to comp.lang.postscript | Previous | Next — Previous in thread | Find similar
Help with command line usage "D.B. Carter" <fathedfred@gmail.com> - 2022-06-17 12:32 -0700
Re: Help with command line usage "Jeffrey H. Coffield" <jeffrey@digitalsynergyinc.com> - 2022-06-17 14:30 -0700
Re: Help with command line usage Ross Presser <rpresser@gmail.com> - 2022-06-18 18:33 -0700
Re: Help with command line usage ken <ken@spamcop.net> - 2022-06-19 08:36 +0100
Re: Help with command line usage Ross Presser <rpresser@gmail.com> - 2022-06-22 09:06 -0700
Re: Help with command line usage ken <ken@spamcop.net> - 2022-06-19 08:36 +0100
Re: Help with command line usage luser droog <luser.droog@gmail.com> - 2022-06-19 19:21 -0700
csiph-web