From owner-freebsd-questions@FreeBSD.ORG Thu Apr 10 08:54:39 2003 Return-Path: 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 A43EF37B401 for ; Thu, 10 Apr 2003 08:54:39 -0700 (PDT) Received: from sage.thought.org (dsl231-043-140.sea1.dsl.speakeasy.net [216.231.43.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 578DE43FBF for ; Thu, 10 Apr 2003 08:54:38 -0700 (PDT) (envelope-from kline@thought.org) Received: from thought.org (root@tao [10.0.0.247]) by sage.thought.org (8.12.9/8.11.4) with ESMTP id h3AFsaU4059347; Thu, 10 Apr 2003 08:54:36 -0700 (PDT) (envelope-from kline@thought.org) Received: (from kline@localhost) by thought.org (8.12.6/8.11.3) id h3AFsY7E060683; Thu, 10 Apr 2003 08:54:34 -0700 (PDT) (envelope-from kline) Date: Thu, 10 Apr 2003 08:54:34 -0700 From: Gary D Kline To: Malcolm Kay Message-ID: <20030410155434.GA60632@tao.thought.org> References: <20030410041848.GA59255@tao.thought.org> <20030410050051.GB59296@tao.thought.org> <200304101726.19370.Malcolm.Kay@internode.on.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200304101726.19370.Malcolm.Kay@internode.on.net> X-Organization: Thought Unlimited. Public service Unix since 1986. X-Of_Interest: Observing 16 years of service to the Unix community User-Agent: Mutt/1.5.3i cc: FreeBSD Mailing List Subject: Re: ghostscript upgrade. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2003 15:54:39 -0000 On Thu, Apr 10, 2003 at 05:26:19PM +0930, Malcolm Kay wrote: > On Thu, 10 Apr 2003 14:30, Gary D Kline wrote: > > On Wed, Apr 09, 2003 at 09:18:48PM -0700, Gary D Kline wrote: > > > Hi Gang, > > > > > > I just upgraded ghostscript for the first time in at least > > > a few years... I installed the ghostscript-gnu for my old > > > hp500. > > > > > > In /usr/local/libxec/hpif, part of my gs line is: > > > > > > /usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=djet500 > > > > > > > only trying to print Postscript gives me this err: > > > > > > "Unknown device: dj500" > > > > > > Can anybody help me get this fixed?? > > > > > > thannks much, > > > > NB: I solved my problem by using ghostscript-afpl, > > but still don't understand why -gnu fails. Can > > anyone point me at the proper docs? tia, --gary > > The original error message looks wrong if you specified: > -sDEVICE=djet500 > I get your error message only when specifying the device as > -sDEVICE=dj500 Thanks for your reply. Below, moused and pasted, is from my hpif shell script. (I modified the script slightly on 19dec01, but did not touch the gs line. I haven't written any drivers for 8, 10 years so this stuff in magic in a box:) /usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=djet500 -sOutputFile=- - && exit 0 And yes, the `Unknown device' error was from -gnu. > > On the other hand with the gnu-ghostscript installed here > with a printer device I must specify an output and input or a different error > is anounced. Output does not default to stdout: > -sOutputFile=- - > is required for output to stdout from stdin. By adding this to your command > line it works here with gnu version 6.52_4. > > Note that: > gs -h > will list all devices known to your particular installation > of ghostscript. > Ah, that switch will help, thanks. Okay, I see this: deskjet djet500 cdeskjet so it looks like the "sDEVICE=djet500" is correct. --FWIW, according to the stdout, I'm using /usr/local/share/ghostscript/8.00/lib with -afpl, and it looks like this port does just about everything except wash the car. tiff and jpeg and png... impressive. gary -- Gary Kline kline@thought.org www.thought.org Public service Unix