From owner-freebsd-doc@FreeBSD.ORG Mon Apr 19 08:30:19 2004 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBF1016A4CF for ; Mon, 19 Apr 2004 08:30:19 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABCF743D5E for ; Mon, 19 Apr 2004 08:30:19 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i3JFUJbv027625 for ; Mon, 19 Apr 2004 08:30:19 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i3JFUJLl027624; Mon, 19 Apr 2004 08:30:19 -0700 (PDT) (envelope-from gnats) Resent-Date: Mon, 19 Apr 2004 08:30:19 -0700 (PDT) Resent-Message-Id: <200404191530.i3JFUJLl027624@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Simon Barner Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5EFCE16A4CE for ; Mon, 19 Apr 2004 08:24:08 -0700 (PDT) Received: from mailout1.informatik.tu-muenchen.de (mailout1.informatik.tu-muenchen.de [131.159.0.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7233343D55 for ; Mon, 19 Apr 2004 08:24:07 -0700 (PDT) (envelope-from barner@in.tum.de) Received: by zi025.glhnet.mhn.de (Postfix, from userid 1000) id C1AF9487D; Mon, 19 Apr 2004 17:23:41 +0200 (CEST) Message-Id: <20040419152341.C1AF9487D@zi025.glhnet.mhn.de> Date: Mon, 19 Apr 2004 17:23:41 +0200 (CEST) From: Simon Barner To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: docs/65766: [printing] Fdescfs needs to be mounted on FreeBSD 5.x X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Simon Barner List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Apr 2004 15:30:20 -0000 >Number: 65766 >Category: docs >Synopsis: [printing] Fdescfs needs to be mounted on FreeBSD 5.x >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 19 08:30:19 PDT 2004 >Closed-Date: >Last-Modified: >Originator: Simon Barner >Release: FreeBSD 5.2.1-RELEASE-p5 i386 >Organization: >Environment: System: FreeBSD zi025.glhnet.mhn.de 5.2.1-RELEASE-p5 FreeBSD 5.2.1-RELEASE-p5 #0: Sat Apr 17 12:06:11 CEST 2004 toor@zi025.glhnet.mhn.de:/usr/src/sys/i386/compile/KISTE i386 >Description: The Handbook, Chapter 11, does not mention that you have to mount fdescfs in order to use the example filter script (otherwise printing does not work). handbook/printing-advanced.html -> 11.4.1.3 Simulating PostScript on Non PostScript Printers >How-To-Repeat: Print w/o having that file system mounted. Enable logging in /etc/printcap :lf=/var/log/myprinter.log: You will see the following error message: Error: /invalidfileaccess in --.outputpage-- Operand stack: 1 true Execution stack: %interp_exit .runexec2 --nostringval-- --nostringval-- --nostringval- - 2 %stopped_push --nostringval-- --nostringval-- --nostringval-- fa lse 1 %stopped_push 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop .runexec2 --nostringval-- --nostringva l-- --nostringval-- 2 %stopped_push --nostringval-- 0 4 %oparray_p op --nostringval-- --nostringval-- --nostringval-- --nostringval-- Dictionary stack: --dict:1059/1123(ro)(G)-- --dict:0/20(G)-- --dict:75/200(L)-- --dict:10 6/300(L)-- Current allocation mode is local Last OS error: 45 GNU Ghostscript 7.07: Unrecoverable error, exit code 1 >Fix: The following line in /etc/fstab fdescfs /dev/fd fdescfs rw 0 0 and a mount /dev/fd made my printer work. Furthermore I'd like to add that I had to remove the following line from the ifhp example filter: printf "\033&k2G" || exit 2 (I am using an Epson Stylus Color 740 via the stcolor driver, GNU Ghostscript 7.07). >Release-Note: >Audit-Trail: >Unformatted: