Date: Mon, 24 Nov 1997 09:28:54 +1030 From: Greg Lehey <grog@lemis.com> To: grobin@accessv.com Cc: questions@FreeBSD.ORG Subject: Re: Can't get lpr working. Message-ID: <19971124092854.03110@lemis.com> In-Reply-To: <3478AEB9.DAF8C329@accessv.com>; from Geoffrey Robinson on Sun, Nov 23, 1997 at 05:31:21PM -0500 References: <3478AEB9.DAF8C329@accessv.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Nov 23, 1997 at 05:31:21PM -0500, 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. Make sure you have a directory /var/spool/lpd/prn. Greg
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19971124092854.03110>