Date: Sun, 23 Nov 1997 17:50:01 -0600 (CST) From: Jay Nelson <jdn@qiv.com> To: Geoffrey Robinson <grobin@accessv.com> Cc: questions@freebsd.org Subject: Re: Can't get lpr working. Message-ID: <Pine.BSF.3.96.971123174729.1074B-100000@acp.qiv.com> In-Reply-To: <3478AEB9.DAF8C329@accessv.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Does the directory /var/spool/lpd/prn exist? What is the purpose of
the if-simple filter?
-- Jay
On Sun, 23 Nov 1997, Geoffrey Robinson wrote:
> Hi, I've just finished setting up lpr for the first time and I can't get
> it to work. When I enter the test line
>
> lptest 20 5 | lpr -Pprn
>
> I get the error message
>
> lpr: connect: No such file or directory
> jobs queued, but cannot start daemon.
>
> I know my printer is set up correctly because I can print things
> manually by re-directing output to /dev/lpt0.
>
> I'm not sure if this error is caused by something that I entered wrong
> in /etc/printcap or something not set up right in my kernel, I'm pretty
> new to Unix right now.
>
> My setup files are as follows
>
> #
> # /etc/printcap
> #
> prn|lp|EPSON LQ-570+ ESC/P2:\
> :sh:sd=/var/spool/lpd/prn:\
> :lp=/dev/lpt0:\
> :if=/usr/local/libexec/if-simple:
> ^D
>
>
> #!/bin/sh
> #
> #/usr/local/libexec/if-simple
> #
> /bin/cat && exit 0
> exit 2
> ^D
>
> if-simple is set as 555
>
> I'm using a custom kernel but I tested it on the GENERIC kernel as well
> so I don't think its something I messed up in there. Any Ideas?
>
> Thanks in advance for any help that you can give me.
>
> --
> Geoffrey Robinson
> grobin@accessv.com
> Oakville, Ontario, Canada.
>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971123174729.1074B-100000>
