[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: very simple off-topic question regarding command line viewing of pos
From: |
Jean Abou Samra |
Subject: |
Re: very simple off-topic question regarding command line viewing of postscript files on macOS |
Date: |
Wed, 3 Aug 2022 09:22:53 +0200 |
> Le 3 août 2022 à 01:24, Kenneth Wolcott <kennethwolcott@gmail.com> a écrit :
>
> Hi;
>
> I'm trying to simplify my workflow. I think I want to generate
> postscript files instead of pdf files when using Lilypond. I already
> know how to do that. But what I need to know is, on a Mac, how to
> display the postscript file from the command line. I used to do this
> all the time a long time ago when I used UNIX and Linux, but homebrew
> gs doesn't display the postscript. I do not want to use preview.
>
> This used to be a TRIVIAL thing to do when I was younger, but now I
> am old and my brain just isn't what it used to be.
>
> I've looked at several man pages and/or info and/or help (lastly
> /opt/homebrew/Cellar/ghostscript/9.56.1_1/share/doc/ghostscript/9.56.1/Use.htm)
>
> Current attempt:
>
> /opt/homebrew/Cellar/ghostscript/9.56.1_1/bin/gs -sDEVICE=display
> ../target/The_Swan.ps
> GPL Ghostscript 9.56.1 (2022-04-04)
> Copyright (C) 2022 Artifex Software, Inc. All rights reserved.
> This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
> see the file COPYING for details.
> zsh: segmentation fault
> /opt/homebrew/Cellar/ghostscript/9.56.1_1/bin/gs -sDEVICE=display
>
> So, what flags should I be using just to display the postscript?
Personally, I’d just have done
ps2pdf file.ps
open file.pdf
I believe this is actually what some of the modern document viewers do if you
ask them to open a PS file.
Bottom line: this may be an XY question. Why do you want to generate PostScript
in the first place?
Best,
Jean
- very simple off-topic question regarding command line viewing of postscript files on macOS, Kenneth Wolcott, 2022/08/02
- Re: very simple off-topic question regarding command line viewing of postscript files on macOS, Andrew Bernard, 2022/08/02
- Re: very simple off-topic question regarding command line viewing of postscript files on macOS, Kenneth Wolcott, 2022/08/02
- Re: very simple off-topic question regarding command line viewing of postscript files on macOS, Jean-Julien Fleck, 2022/08/02
- Re: very simple off-topic question regarding command line viewing of postscript files on macOS, Kenneth Wolcott, 2022/08/03
- Re: very simple off-topic question regarding command line viewing of postscript files on macOS, Jean-Julien Fleck, 2022/08/03
- Re: very simple off-topic question regarding command line viewing of postscript files on macOS, Kenneth Wolcott, 2022/08/03
- Re: very simple off-topic question regarding command line viewing of postscript files on macOS, Hans Åberg, 2022/08/03
Re: very simple off-topic question regarding command line viewing of postscript files on macOS,
Jean Abou Samra <=
Re: very simple off-topic question regarding command line viewing of postscript files on macOS, David Wright, 2022/08/03