Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Apr 1999 13:04:57 -0700 (PDT)
From:      Doug White <dwhite@resnet.uoregon.edu>
To:        "Ueda, Kazukiyo" <kueda@jupiter.qse.tohoku.ac.jp>
Cc:        questions@FreeBSD.ORG
Subject:   Re: "df" entry in /etc/printcap ignored?
Message-ID:  <Pine.BSF.4.03.9904201304250.1514-100000@resnet.uoregon.edu>
In-Reply-To: <19990417101756M.kueda@jupiter.qse.tohoku.ac.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.03.9904201304250.1514-100000>