From owner-freebsd-questions Sat Feb 15 5: 5:12 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B1C7A37B401 for ; Sat, 15 Feb 2003 05:05:10 -0800 (PST) Received: from pa-plum1b-166.pit.adelphia.net (pa-plum1b-13.pit.adelphia.net [24.53.161.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4FAD43F85 for ; Sat, 15 Feb 2003 05:05:09 -0800 (PST) (envelope-from wmoran@potentialtech.com) Received: from potentialtech.com (working [172.16.0.95]) by pa-plum1b-166.pit.adelphia.net (8.12.3/8.12.3) with ESMTP id h1FD57rX003831; Sat, 15 Feb 2003 08:05:08 -0500 (EST) (envelope-from wmoran@potentialtech.com) Message-ID: <3E4E3B03.4070207@potentialtech.com> Date: Sat, 15 Feb 2003 08:05:07 -0500 From: Bill Moran User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.1) Gecko/20021127 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Per olof Ljungmark Cc: freebsd-questions@freebsd.org Subject: Re: gs not found, scripts failing References: <3E4E141D.9000302@intersonic.se> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Per olof Ljungmark wrote: > I'm having problems with scripts involvivng Ghostscript on FreeBSD > (4.6-4.7). > Specifically, I am implementing a Hylafax solution and most of it works > but there a two areas that fail: > 1. Running the SambaFax (http://www.purpel3.com/sambafax/) utility that > extracts a fax number from a postscript file > > 2. Using the "faxrcvd" script that comes with Hylafax converting > incoming faxes to pdf's. > > In both cases the scripts seems to fail when tiff2ps, ps2pdf etc. are > being executed. > > Running the scripts manually from the shell works. > > The only trace I hae so far from the logs is when (1.) is executed, > cupsd reports "gs: not found". > > How do I go about debugging this? I am in no way a programmer although I > understand parts of what the scripts are doing. You need to install ghostscript. It includes the gs, tiff2ps, ps2pdf, etc programs that are needed for everything else to run. Ghostscript is pretty much a requirement whenever you're converting documents from one type to another or doing printing beyond plain text. -- Bill Moran Potential Technologies http://www.potentialtech.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message