From owner-freebsd-questions Tue Apr 20 13: 7:30 1999 Delivered-To: freebsd-questions@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id 36BCD14FAF for ; Tue, 20 Apr 1999 13:07:27 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id NAA09383; Tue, 20 Apr 1999 13:04:57 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Tue, 20 Apr 1999 13:04:57 -0700 (PDT) From: Doug White To: "Ueda, Kazukiyo" Cc: questions@FreeBSD.ORG Subject: Re: "df" entry in /etc/printcap ignored? In-Reply-To: <19990417101756M.kueda@jupiter.qse.tohoku.ac.jp> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, 17 Apr 1999, Ueda, Kazukiyo wrote: > I have used a PostScript printer, that is Apple LaserWriter 16/600PS, > which is hooked up to my school's LAN. The printer communicates using > LPD protocol with other computers. When I print a PostScript file > from my computer in which FreeBSD 3.1.0R is installed using the > command, > > % lpr foo.ps Sounds good. > > the file is printed okay. Today I tried to make lpr (or lpd?) use > filter programs to print non-PostScript files. I had read the printer > section in the FreeBSD Handbook, and changed /etc/printcap for filter > programs as described in the handbook. The program to print a text > file is same as "if-simple" written in the Handbook and specified it > in "if" entry of /etc/printcap. A text file and a PostScript file > could be printed successfully. Next time, I set up a filter program > for DVI file and tried to print a dvi file with a command > > % lpr -d foo.dvi > ^^ > but nothing was printed. I am afraid that "df" entry in /etc/printcap > is ignored, because no error message comes out to console or syslog > file even if the filter program is not executable. Check in the error log for lpd (/var/log/lpd-errors) or the log for the spool, if specified. Your script is probably falling over. Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message