From owner-freebsd-questions Fri Apr 16 18:20:23 1999 Delivered-To: freebsd-questions@freebsd.org Received: from saturn.qse.tohoku.ac.jp (saturn.qse.tohoku.ac.jp [130.34.70.56]) by hub.freebsd.org (Postfix) with ESMTP id A769E14C1D for ; Fri, 16 Apr 1999 18:20:19 -0700 (PDT) (envelope-from kueda@jupiter.qse.tohoku.ac.jp) Received: from localhost (localhost [127.0.0.1]) by saturn.qse.tohoku.ac.jp (8.9.2/8.9.2) with ESMTP id KAA13815; Sat, 17 Apr 1999 10:17:56 +0900 (JST) (envelope-from kueda@jupiter.qse.tohoku.ac.jp) To: questions@freebsd.org Subject: "df" entry in /etc/printcap ignored? From: "Ueda, Kazukiyo" X-Mailer: Mew version 1.93 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Multipart/Mixed; boundary="--Next_Part(Sat_Apr_17_10:17:41_1999_809)--" Content-Transfer-Encoding: 7bit Message-Id: <19990417101756M.kueda@jupiter.qse.tohoku.ac.jp> Date: Sat, 17 Apr 1999 10:17:56 +0900 X-Dispatcher: imput version 980905(IM100) Lines: 51 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ----Next_Part(Sat_Apr_17_10:17:41_1999_809)-- Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi all, 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 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. The printcap file on my computer is attached to this mail. Any help or commend would be appreciated. TIA. -- Kazukiyo Ueda ----Next_Part(Sat_Apr_17_10:17:41_1999_809)-- Content-Type: Text/Plain; charset=us-ascii Content-Disposition: attachment; filename=printcap Content-Transfer-Encoding: 7bit lp|Apple LW1600PS:\ :lp=:\ :rm=laserprinter:\ :mx#0:\ :lf=/var/log/lpd-errs:\ :sd=/var/spool/lpd/laserprinter:\ :if=/usr/local/libexec/if-simple:\ :df=/usr/local/libexec/df-simple: ----Next_Part(Sat_Apr_17_10:17:41_1999_809)---- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message