From owner-freebsd-current@FreeBSD.ORG Sat Feb 14 03:24:26 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8BD6B16A4CE for ; Sat, 14 Feb 2004 03:24:26 -0800 (PST) Received: from mailout09.sul.t-online.com (mailout09.sul.t-online.com [194.25.134.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D65043D1D for ; Sat, 14 Feb 2004 03:24:26 -0800 (PST) (envelope-from Dirk.Roehrdanz@t-online.de) Received: from fwd10.aul.t-online.de by mailout09.sul.t-online.com with smtp id 1ArxuK-00042P-04; Sat, 14 Feb 2004 12:24:24 +0100 Received: from aldebaran.dx (Ewxsa0ZHQeU4bDGHs2RQ8kGeyF1hHj-ZyYA9AdT0K10B1SapBOqVoP@[217.233.85.223]) by fwd10.sul.t-online.com with esmtp id 1ArxuC-1WFeKW0; Sat, 14 Feb 2004 12:24:16 +0100 Received: by aldebaran.dx (Postfix, from userid 1001) id A6C062276; Sat, 14 Feb 2004 12:24:14 +0100 (CET) Date: Sat, 14 Feb 2004 12:24:14 +0100 From: Dirk.Roehrdanz@t-online.de (Dirk Roehrdanz) To: freebsd-current@freebsd.org Message-ID: <20040214122414.A583@aldebaran.dx> Mail-Followup-To: freebsd-current@freebsd.org References: <402D577B.8010402@tellme3times.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <402D577B.8010402@tellme3times.com>; from chris@tellme3times.com on Fri, Feb 13, 2004 at 06:02:19PM -0500 X-Seen: false X-ID: Ewxsa0ZHQeU4bDGHs2RQ8kGeyF1hHj-ZyYA9AdT0K10B1SapBOqVoP Subject: Re: PS printing to non PS printer on 5.2 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Feb 2004 11:24:26 -0000 Hello Chris, On 0, Chris wrote: > Hell all, > > I'm having trouble getting gs to print with the instructions in the > handbook. While I can print simple text to the printer I am unable to > print postscript. > > The same script works fine on 4.x I have now tried this on 5.1 and 5.2.1 > and both result in the same errors; > > AFPL Ghostscript 8.11: **** Could not open the file /dev/fd/3 . > Error: /invalidfileaccess in --.outputpage-- > > > now on 5.x we do not have /dev/fd/3 as required by the hand book; > > /usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=djet500 \ > -sOutputFile=/dev/fd/3 - && exit 0 to access /dev/fd/3 you have to mount fdescfs before: mount_fdescfs fdescfs /dev/fd You can put an adequate line in /etc/fstab(after the devfs line): fdescfs /dev/fd fdescfs rw 0 0 Dirk