Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Sep 2004 19:21:16 -0700
From:      Gary Schenk <gwschenk@socal.rr.com>
To:        freebsd-questions@freebsd.org
Subject:   lpr error messages
Message-ID:  <415B6D9C.90203@socal.rr.com>

next in thread | raw e-mail | index | archive | help
I cannot print from either X or the command line. It was working
fine until a few hours ago. Any suggestions on where to start
on this would be much appreciated.

Here is an example:

bash-2.05b$ lpr test.txt
/usr/bin/lpr: line 12: */5: No such file or directory
/usr/bin/lpr: line 15: 0: command not found
/usr/bin/lpr: line 18: 1: command not found
/usr/bin/lpr: line 19: 15: command not found
/usr/bin/lpr: line 20: 30: command not found
/usr/bin/lpr: line 25: 1,31: command not found
/usr/bin/lpr: line 28: 1: command not found

lptest > /dev/lpt0 produces output to the printer.

bash-2.05b$ grep lpd_enable /etc/rc.conf
lpd_enable="YES"

I'm thinking that /usr/bin/lpr must be corrupted. I'm not
sure how to go about testing that theory, or what to do
if that is the case. I've searched the list archives and
googled to no avail.

Thanks in advance!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?415B6D9C.90203>