Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

A hacker does for love what others would not do for money.


computers / comp.text.tex / Re: Page parameters in PS to PDF conversion

SubjectAuthor
* Page parameters in PS to PDF conversionBill Donahue
`* Re: Page parameters in PS to PDF conversionPeter Flynn
 `* Re: Page parameters in PS to PDF conversionBill Donahue
  `* Re: Page parameters in PS to PDF conversionBill Donahue
   +* Re: Page parameters in PS to PDF conversionHolger Schieferdecker
   |`* Re: Page parameters in PS to PDF conversionBill Donahue
   | `- Re: Page parameters in PS to PDF conversionBill Donahue
   `- Re: Page parameters in PS to PDF conversionPeter Flynn

1
Page parameters in PS to PDF conversion

<b4d0be42-9eb4-446e-a92e-fe96483fb487n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.text.tex
X-Received: by 2002:ae9:e315:: with SMTP id v21mr35253913qkf.81.1626886247416; Wed, 21 Jul 2021 09:50:47 -0700 (PDT)
X-Received: by 2002:ac8:7c8c:: with SMTP id y12mr19572267qtv.64.1626886247245; Wed, 21 Jul 2021 09:50:47 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!tr1.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.text.tex
Date: Wed, 21 Jul 2021 09:50:47 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=65.19.21.137; posting-account=Pe70HwoAAABTnbm2BWwHRU5OuFIyhi4U
NNTP-Posting-Host: 65.19.21.137
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <b4d0be42-9eb4-446e-a92e-fe96483fb487n@googlegroups.com>
Subject: Page parameters in PS to PDF conversion
From: bill.donahue@gmail.com (Bill Donahue)
Injection-Date: Wed, 21 Jul 2021 16:50:47 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 17
 by: Bill Donahue - Wed, 21 Jul 2021 16:50 UTC

I am preparing a reprint of a book I laid out in TeX (plain, with ZZTeX macros) 20 years ago.

At that time, the book printers worked directly with PS files. I don't know whether PDF conversion was an option then, but we didn't use it. But I now need to output a PDF from the PS files to submit to the printer.

The layout in TeX had a 7 x 10 page size. However, when I use Distiller (version 21.005.20058) to generate a PDF from the PS, I get 8.5 x 11. Looking at the PS file, I find:
/PageHeight 792 def /PageWidth 612 def
on line 166. Evidently, the page is set at 8.5 x 11.

I have tried changing the dimensions here to:
/PageHeight 720 def /PageWidth 504 def
However, the output PDF still has a page size of 8.5 x 11. All that has happened is that the printed area has shifted downwards by 1 inch. The offset from the left edge of the page is the same.

I really don't want to try to run the original TeX files on our current system. Too much has changed, and there is too much chance for hard-to-find errors to sneak in.

So my question is, Is there a reasonable way to edit the PS file to get the original page parameters in the PDF?

Bill Donahue
Green Lion Press

Re: Page parameters in PS to PDF conversion

<ilrbkmFpotiU1@mid.individual.net>

  copy mid

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

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: peter@silmaril.ie (Peter Flynn)
Newsgroups: comp.text.tex
Subject: Re: Page parameters in PS to PDF conversion
Date: Wed, 21 Jul 2021 20:42:14 +0100
Lines: 9
Message-ID: <ilrbkmFpotiU1@mid.individual.net>
References: <b4d0be42-9eb4-446e-a92e-fe96483fb487n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Trace: individual.net UrVBnDV1oHiQTJMb+gKLywMCst/fPHcUU5JgaayRdfjvpG/ngu
Cancel-Lock: sha1:1W4w0aHPftDym6aXGcngkLePk4k=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
In-Reply-To: <b4d0be42-9eb4-446e-a92e-fe96483fb487n@googlegroups.com>
Content-Language: en-US
 by: Peter Flynn - Wed, 21 Jul 2021 19:42 UTC

On 21/07/2021 17:50, Bill Donahue wrote:
[...]
> So my question is, Is there a reasonable way to edit the PS file to
> get the original page parameters in the PDF?

Have you tried the ps2pdf utility? I wouldn't edit the PS file except as
a last resort; I'd try the various Ghostscript parameters for the page size.

Peter

Re: Page parameters in PS to PDF conversion

<e756a348-d1ea-460a-8d64-c986e1e4c9d8n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.text.tex
X-Received: by 2002:ad4:57ac:: with SMTP id g12mr38892706qvx.32.1626905934915; Wed, 21 Jul 2021 15:18:54 -0700 (PDT)
X-Received: by 2002:ac8:479a:: with SMTP id k26mr32981602qtq.119.1626905934664; Wed, 21 Jul 2021 15:18:54 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.goja.nl.eu.org!2.eu.feeder.erje.net!feeder.erje.net!feeder5.feed.usenet.farm!feeder1.feed.usenet.farm!feed.usenet.farm!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.text.tex
Date: Wed, 21 Jul 2021 15:18:54 -0700 (PDT)
In-Reply-To: <ilrbkmFpotiU1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=65.19.21.137; posting-account=Pe70HwoAAABTnbm2BWwHRU5OuFIyhi4U
NNTP-Posting-Host: 65.19.21.137
References: <b4d0be42-9eb4-446e-a92e-fe96483fb487n@googlegroups.com> <ilrbkmFpotiU1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e756a348-d1ea-460a-8d64-c986e1e4c9d8n@googlegroups.com>
Subject: Re: Page parameters in PS to PDF conversion
From: bill.donahue@gmail.com (Bill Donahue)
Injection-Date: Wed, 21 Jul 2021 22:18:54 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 18
 by: Bill Donahue - Wed, 21 Jul 2021 22:18 UTC

On Wednesday, July 21, 2021 at 1:42:19 PM UTC-6, peter wrote:
> On 21/07/2021 17:50, Bill Donahue wrote:
> [...]
> > So my question is, Is there a reasonable way to edit the PS file to
> > get the original page parameters in the PDF?
> Have you tried the ps2pdf utility? I wouldn't edit the PS file except as
> a last resort; I'd try the various Ghostscript parameters for the page size.
>
> Peter

Peter--

Thank you for pointing me in what I hope will be a good direction. I too would much rather not mess with the PS code.

I'm sure I have invisibly invoked both ps2pdf and GhostScript from TexShop, but never directly. I know they are on our Mac. Will see what I can do with them.

Bill

Re: Page parameters in PS to PDF conversion

<cd234826-60b9-4085-8ea1-c640f34519f0n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.text.tex
X-Received: by 2002:ac8:71d9:: with SMTP id i25mr17679843qtp.222.1626913182666; Wed, 21 Jul 2021 17:19:42 -0700 (PDT)
X-Received: by 2002:ad4:4690:: with SMTP id bq16mr38468510qvb.23.1626913182469; Wed, 21 Jul 2021 17:19:42 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!feeder1.feed.usenet.farm!feed.usenet.farm!tr1.eu1.usenetexpress.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.text.tex
Date: Wed, 21 Jul 2021 17:19:42 -0700 (PDT)
In-Reply-To: <e756a348-d1ea-460a-8d64-c986e1e4c9d8n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=65.19.21.137; posting-account=Pe70HwoAAABTnbm2BWwHRU5OuFIyhi4U
NNTP-Posting-Host: 65.19.21.137
References: <b4d0be42-9eb4-446e-a92e-fe96483fb487n@googlegroups.com> <ilrbkmFpotiU1@mid.individual.net> <e756a348-d1ea-460a-8d64-c986e1e4c9d8n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <cd234826-60b9-4085-8ea1-c640f34519f0n@googlegroups.com>
Subject: Re: Page parameters in PS to PDF conversion
From: bill.donahue@gmail.com (Bill Donahue)
Injection-Date: Thu, 22 Jul 2021 00:19:42 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 36
 by: Bill Donahue - Thu, 22 Jul 2021 00:19 UTC

On Wednesday, July 21, 2021 at 4:18:57 PM UTC-6, Bill Donahue wrote:
> On Wednesday, July 21, 2021 at 1:42:19 PM UTC-6, peter wrote:
> > On 21/07/2021 17:50, Bill Donahue wrote:
> > [...]
> > > So my question is, Is there a reasonable way to edit the PS file to
> > > get the original page parameters in the PDF?
> > Have you tried the ps2pdf utility? I wouldn't edit the PS file except as
> > a last resort; I'd try the various Ghostscript parameters for the page size.
> >
> > Peter
> Peter--
>
> Thank you for pointing me in what I hope will be a good direction. I too would much rather not mess with the PS code.
>
> I'm sure I have invisibly invoked both ps2pdf and GhostScript from TexShop, but never directly. I know they are on our Mac. Will see what I can do with them.
>
> Bill

After a few hours struggling with ps2pdf and GhostScript, I am at an impasse. Here's an example (from Terminal):

bill@Phaedra-2 / % ps2pdf -h
Usage: ps2pdfwr [options...] (input.[e]ps|-) [output.pdf|-]
bill@Phaedra-2 / % ps2pdfwr op1.ps op1.pdf
GPL Ghostscript 9.50: **** Could not open the file op1.pdf .
**** Unable to open the initial device, quitting.

Not surprising, since I didn't enter the path to op1.ps. Next attempt:

bill@Phaedra-2 / % ps2pdfwr 'users//shared/docs/optics/optics 2020/optics 2020 tex files/ps files/op1.ps'
GPL Ghostscript 9.50: **** Could not open the file op1.pdf .
**** Unable to open the initial device, quitting.

I messed around with GhostScript itself, but all I could get it to do was to list the bounding boxes of the pages. At least it could find the file!

Please, if all this is too elementary, just say so and I will figure it out myself one way or another.

Bill

Re: Page parameters in PS to PDF conversion

<sdb5u4UsumiL1@news.in-ulm.de>

  copy mid

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

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.bawue.net!newsfeed.in-ulm.de!not-for-mail
From: spamless@gmx.de (Holger Schieferdecker)
Newsgroups: comp.text.tex
Subject: Re: Page parameters in PS to PDF conversion
Date: Thu, 22 Jul 2021 09:15:16 +0200
Organization: [ posted via ] IN-Ulm
Lines: 43
Message-ID: <sdb5u4UsumiL1@news.in-ulm.de>
References: <b4d0be42-9eb4-446e-a92e-fe96483fb487n@googlegroups.com>
<ilrbkmFpotiU1@mid.individual.net>
<e756a348-d1ea-460a-8d64-c986e1e4c9d8n@googlegroups.com>
<cd234826-60b9-4085-8ea1-c640f34519f0n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.in-ulm.de 94FA23096DD2EFC7F0B2660931477E9F
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101
Thunderbird/45.8.0
In-Reply-To: <cd234826-60b9-4085-8ea1-c640f34519f0n@googlegroups.com>
 by: Holger Schieferdecke - Thu, 22 Jul 2021 07:15 UTC

Am 22.07.2021 um 02:19 schrieb Bill Donahue:
> On Wednesday, July 21, 2021 at 4:18:57 PM UTC-6, Bill Donahue wrote:
>> On Wednesday, July 21, 2021 at 1:42:19 PM UTC-6, peter wrote:
>>> On 21/07/2021 17:50, Bill Donahue wrote:
>>> [...]
>>>> So my question is, Is there a reasonable way to edit the PS file to
>>>> get the original page parameters in the PDF?
>>> Have you tried the ps2pdf utility? I wouldn't edit the PS file except as
>>> a last resort; I'd try the various Ghostscript parameters for the page size.
>>>
>>> Peter
>> Peter--
>>
>> Thank you for pointing me in what I hope will be a good direction. I too would much rather not mess with the PS code.
>>
>> I'm sure I have invisibly invoked both ps2pdf and GhostScript from TexShop, but never directly. I know they are on our Mac. Will see what I can do with them.
>>
>> Bill
>
> After a few hours struggling with ps2pdf and GhostScript, I am at an impasse. Here's an example (from Terminal):
>
> bill@Phaedra-2 / % ps2pdf -h
> Usage: ps2pdfwr [options...] (input.[e]ps|-) [output.pdf|-]
> bill@Phaedra-2 / % ps2pdfwr op1.ps op1.pdf
> GPL Ghostscript 9.50: **** Could not open the file op1.pdf .
> **** Unable to open the initial device, quitting.

I don't have experience with a Mac, just a little bit with Linux. But
when I look at the prompt "bill@Phaedra-2 / %" I have the impression
that maybe you are in the root directory. Ghostscript complains that it
could not open the target file, maybe you don't have write permissions
there.

Try to got to the directory where your input file is located and make
sure you have write permissions there. If not copy the PS file to your
home directory and try it there.

You also could pass a path not only to the input file but to the output
file as well.

Hope that helps,
Holger

Re: Page parameters in PS to PDF conversion

<255510f9-5233-49af-9016-73ccaf0468a5n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.text.tex
X-Received: by 2002:a37:9445:: with SMTP id w66mr1671420qkd.410.1626987026443;
Thu, 22 Jul 2021 13:50:26 -0700 (PDT)
X-Received: by 2002:a0c:ed30:: with SMTP id u16mr1580331qvq.34.1626987026290;
Thu, 22 Jul 2021 13:50:26 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.text.tex
Date: Thu, 22 Jul 2021 13:50:26 -0700 (PDT)
In-Reply-To: <sdb5u4UsumiL1@news.in-ulm.de>
Injection-Info: google-groups.googlegroups.com; posting-host=65.19.21.137; posting-account=Pe70HwoAAABTnbm2BWwHRU5OuFIyhi4U
NNTP-Posting-Host: 65.19.21.137
References: <b4d0be42-9eb4-446e-a92e-fe96483fb487n@googlegroups.com>
<ilrbkmFpotiU1@mid.individual.net> <e756a348-d1ea-460a-8d64-c986e1e4c9d8n@googlegroups.com>
<cd234826-60b9-4085-8ea1-c640f34519f0n@googlegroups.com> <sdb5u4UsumiL1@news.in-ulm.de>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <255510f9-5233-49af-9016-73ccaf0468a5n@googlegroups.com>
Subject: Re: Page parameters in PS to PDF conversion
From: bill.donahue@gmail.com (Bill Donahue)
Injection-Date: Thu, 22 Jul 2021 20:50:26 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Bill Donahue - Thu, 22 Jul 2021 20:50 UTC

On Thursday, July 22, 2021 at 1:20:20 AM UTC-6, Holger Schieferdecker wrote:
> Am 22.07.2021 um 02:19 schrieb Bill Donahue:
> > On Wednesday, July 21, 2021 at 4:18:57 PM UTC-6, Bill Donahue wrote:
> >> On Wednesday, July 21, 2021 at 1:42:19 PM UTC-6, peter wrote:
> >>> On 21/07/2021 17:50, Bill Donahue wrote:
> >>> [...]
> >>>> So my question is, Is there a reasonable way to edit the PS file to
> >>>> get the original page parameters in the PDF?
> >>> Have you tried the ps2pdf utility? I wouldn't edit the PS file except as
> >>> a last resort; I'd try the various Ghostscript parameters for the page size.
> >>>
> >>> Peter
> >> Peter--
> >>
> >> Thank you for pointing me in what I hope will be a good direction. I too would much rather not mess with the PS code.
> >>
> >> I'm sure I have invisibly invoked both ps2pdf and GhostScript from TexShop, but never directly. I know they are on our Mac. Will see what I can do with them.
> >>
> >> Bill
> >
> > After a few hours struggling with ps2pdf and GhostScript, I am at an impasse. Here's an example (from Terminal):
> >
> > bill@Phaedra-2 / % ps2pdf -h
> > Usage: ps2pdfwr [options...] (input.[e]ps|-) [output.pdf|-]
> > bill@Phaedra-2 / % ps2pdfwr op1.ps op1.pdf
> > GPL Ghostscript 9.50: **** Could not open the file op1.pdf .
> > **** Unable to open the initial device, quitting.
> I don't have experience with a Mac, just a little bit with Linux. But
> when I look at the prompt "bill@Phaedra-2 / %" I have the impression
> that maybe you are in the root directory. Ghostscript complains that it
> could not open the target file, maybe you don't have write permissions
> there.
>
> Try to got to the directory where your input file is located and make
> sure you have write permissions there. If not copy the PS file to your
> home directory and try it there.
>
> You also could pass a path not only to the input file but to the output
> file as well.
>
> Hope that helps,
> Holger

Thank you, Holger. I will try it and let you know the result.

Bill

Re: Page parameters in PS to PDF conversion

<45c4ffd5-ee0c-4300-9799-c4f46d1dfb72n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.text.tex
X-Received: by 2002:a37:d86:: with SMTP id 128mr2027125qkn.299.1626994707988; Thu, 22 Jul 2021 15:58:27 -0700 (PDT)
X-Received: by 2002:ac8:4996:: with SMTP id f22mr1827138qtq.12.1626994707714; Thu, 22 Jul 2021 15:58:27 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!feeder1.feed.usenet.farm!feed.usenet.farm!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.text.tex
Date: Thu, 22 Jul 2021 15:58:27 -0700 (PDT)
In-Reply-To: <255510f9-5233-49af-9016-73ccaf0468a5n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=65.19.21.137; posting-account=Pe70HwoAAABTnbm2BWwHRU5OuFIyhi4U
NNTP-Posting-Host: 65.19.21.137
References: <b4d0be42-9eb4-446e-a92e-fe96483fb487n@googlegroups.com> <ilrbkmFpotiU1@mid.individual.net> <e756a348-d1ea-460a-8d64-c986e1e4c9d8n@googlegroups.com> <cd234826-60b9-4085-8ea1-c640f34519f0n@googlegroups.com> <sdb5u4UsumiL1@news.in-ulm.de> <255510f9-5233-49af-9016-73ccaf0468a5n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <45c4ffd5-ee0c-4300-9799-c4f46d1dfb72n@googlegroups.com>
Subject: Re: Page parameters in PS to PDF conversion
From: bill.donahue@gmail.com (Bill Donahue)
Injection-Date: Thu, 22 Jul 2021 22:58:27 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 53
 by: Bill Donahue - Thu, 22 Jul 2021 22:58 UTC

On Thursday, July 22, 2021 at 2:50:29 PM UTC-6, Bill Donahue wrote:
> On Thursday, July 22, 2021 at 1:20:20 AM UTC-6, Holger Schieferdecker wrote:
> > Am 22.07.2021 um 02:19 schrieb Bill Donahue:
> > > On Wednesday, July 21, 2021 at 4:18:57 PM UTC-6, Bill Donahue wrote:
> > >> On Wednesday, July 21, 2021 at 1:42:19 PM UTC-6, peter wrote:
> > >>> On 21/07/2021 17:50, Bill Donahue wrote:
> > >>> [...]
> > >>>> So my question is, Is there a reasonable way to edit the PS file to
> > >>>> get the original page parameters in the PDF?
> > >>> Have you tried the ps2pdf utility? I wouldn't edit the PS file except as
> > >>> a last resort; I'd try the various Ghostscript parameters for the page size.
> > >>>
> > >>> Peter
> > >> Peter--
> > >>
> > >> Thank you for pointing me in what I hope will be a good direction. I too would much rather not mess with the PS code.
> > >>
> > >> I'm sure I have invisibly invoked both ps2pdf and GhostScript from TexShop, but never directly. I know they are on our Mac. Will see what I can do with them.
> > >>
> > >> Bill
> > >
> > > After a few hours struggling with ps2pdf and GhostScript, I am at an impasse. Here's an example (from Terminal):
> > >
> > > bill@Phaedra-2 / % ps2pdf -h
> > > Usage: ps2pdfwr [options...] (input.[e]ps|-) [output.pdf|-]
> > > bill@Phaedra-2 / % ps2pdfwr op1.ps op1.pdf
> > > GPL Ghostscript 9.50: **** Could not open the file op1.pdf .
> > > **** Unable to open the initial device, quitting.
> > I don't have experience with a Mac, just a little bit with Linux. But
> > when I look at the prompt "bill@Phaedra-2 / %" I have the impression
> > that maybe you are in the root directory. Ghostscript complains that it
> > could not open the target file, maybe you don't have write permissions
> > there.
> >
> > Try to got to the directory where your input file is located and make
> > sure you have write permissions there. If not copy the PS file to your
> > home directory and try it there.
> >
> > You also could pass a path not only to the input file but to the output
> > file as well.
> >
> > Hope that helps,
> > Holger
> Thank you, Holger. I will try it and let you know the result.
>
> Bill

Peter, Holger, and all--

The simplest (read "easiest for simpletons") solution is to run the PS files through Distiller and crop the pages of the PDF to 7" x 10" in Acrobat. A single crop setting for the four sides, applied globally, seems to get all the margins right.

Thank you for your help!

Bill

Re: Page parameters in PS to PDF conversion

<im00k9Fo9urU1@mid.individual.net>

  copy mid

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

  copy link   Newsgroups: comp.text.tex
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: peter@silmaril.ie (Peter Flynn)
Newsgroups: comp.text.tex
Subject: Re: Page parameters in PS to PDF conversion
Date: Fri, 23 Jul 2021 15:04:57 +0100
Lines: 27
Message-ID: <im00k9Fo9urU1@mid.individual.net>
References: <b4d0be42-9eb4-446e-a92e-fe96483fb487n@googlegroups.com>
<ilrbkmFpotiU1@mid.individual.net>
<e756a348-d1ea-460a-8d64-c986e1e4c9d8n@googlegroups.com>
<cd234826-60b9-4085-8ea1-c640f34519f0n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 7cZM6FipFqNVa8j+z7OOigKHFpvTopepgmmKeMLpJghcLYs+ZK
Cancel-Lock: sha1:BYW1KJm+6BRPes7LwGKIQviZgPo=
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101
Thunderbird/78.11.0
In-Reply-To: <cd234826-60b9-4085-8ea1-c640f34519f0n@googlegroups.com>
Content-Language: en-US
 by: Peter Flynn - Fri, 23 Jul 2021 14:04 UTC

On 22/07/2021 01:19, Bill Donahue wrote:
> On Wednesday, July 21, 2021 at 4:18:57 PM UTC-6, Bill Donahue wrote:
> After a few hours struggling with ps2pdf and GhostScript, I am at an impasse. Here's an example (from Terminal):
>
> bill@Phaedra-2 / % ps2pdf -h
> Usage: ps2pdfwr [options...] (input.[e]ps|-) [output.pdf|-]
> bill@Phaedra-2 / % ps2pdfwr op1.ps op1.pdf
> GPL Ghostscript 9.50: **** Could not open the file op1.pdf .
> **** Unable to open the initial device, quitting.
>
> Not surprising, since I didn't enter the path to op1.ps. Next attempt:
>
> bill@Phaedra-2 / % ps2pdfwr 'users//shared/docs/optics/optics 2020/optics 2020 tex files/ps files/op1.ps'
> GPL Ghostscript 9.50: **** Could not open the file op1.pdf .
> **** Unable to open the initial device, quitting.

My strong advice is never to use filenames or folder names with spaces
in them.
They make you go grey, give you a splitting headache, delay the trains,
curdle the milk, and cause nuclear wars :-)
Yes, I know single quotes will shield the name. I still don't put spaces
in folder names or file names.

In fact, if you're in your login directory, shouldn't that be /Users ?

Better still cd to the directory and just use op1.ps

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor