🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.ghostscript.bug
Article #289

Re: Not quite quiet

#289
From: Bill Holland
Date: Wed, 26 Aug 1992 03:45
24 lines
1257 bytes
In article <BtJG9u.DME@olsen.ch> lichtin@olsen.CH (Martin Lichtin) writes:

> I'm calling GhostScript 2.41 from within other programs, so
> GhostScript should not issue any text if everything goes fine.
> Unfortunately, using the following
>
>    gs -dNOPAUSE -q -sDEVICE=dfaxhigh -sOUTPUTFILE='fax.%d' file.ps
>
> still generates the 'GS>' prompt on stdout. Is there a way to avoid
> this?

Add PostScript file name 'quit.ps' as the last file to print:

gs -dNOPAUSE -q -sDEVICE=dfaxhigh -sOUTPUTFILE='fax.%d' file.ps quit.ps

The default behavior of ghostscript seems to be to prompt for more files
to print.  File 'quit.ps' is found in the 'ghostscript' directory, and
contains the single line:

quit

Reading this file makes GhostScript quietly terminate.

-Bill Holland <holland@hplwdh.hpl.hp.com>
Technical Details
Message-ID: <BtKnr4.EoB@scd.hp.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!hpl.hp.com!holland
References: <BtJG9u.DME@olsen.ch>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.ghostscript.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!cis.ohio-state.edu!hpl.hp.com!holland
From: holland@hpl.hp.com (Bill Holland)
Subject: Re: Not quite quiet
Message-ID: <BtKnr4.EoB@scd.hp.com>
Sender: gnulists@ai.mit.edu
Organization: Hewlett-Packard Laboratories, Palo Alto
References: <BtJG9u.DME@olsen.ch>
Distribution: gnu
Date: Wed, 26 Aug 1992 03:45:02 GMT
Approved: bug-ghostscript@prep.ai.mit.edu
Lines: 26