Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Mar 2002 02:33:13 -0500
From:      David Banning <david@skytrackercanada.com>
To:        questions@freebsd.org
Subject:   using gs to translate ps files
Message-ID:  <20020308023312.A11518@sympatico.ca>

next in thread | raw e-mail | index | archive | help
I have been trying to convert a ps file to a jpeg file and I have
looked at many of the utilities available. The one which works
best for me is ghostscript.

The only problem is that after it does the translation from ps to jpeg,
it doesn't quit but does into some kind of user mode.

tempf1.ps is input file and temp.jpg is output file.

bash-2.03$ gs  -sDEVICE=jpeg -SOutputFile=temp.jpg tempf1.ps 
AFPL Ghostscript 6.50 (2000-12-02)
Copyright (C) 2000 Aladdin Enterprises, Menlo Park, CA.  All rights reserved.
This software comes with NO WARRANTY: see the file PUBLIC for details.
>>showpage, press <return> to continue<<

>>showpage, press <return> to continue<<

GS>quit
bash-2.03$ 

I have to type 'quit' manually

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020308023312.A11518>