From owner-freebsd-questions Sun Nov 23 14:33:54 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA06895 for questions-outgoing; Sun, 23 Nov 1997 14:33:54 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from emerald.accessv.com (emerald.accessv.com [206.221.248.8]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA06890 for ; Sun, 23 Nov 1997 14:33:51 -0800 (PST) (envelope-from grobin@accessv.com) Received: from accessv.com (port114-87.accessv.com [209.50.87.114]) by emerald.accessv.com (8.8.5/8.8.5) with ESMTP id RAA20377 for ; Sun, 23 Nov 1997 17:31:04 -0500 Message-ID: <3478AEB9.DAF8C329@accessv.com> Date: Sun, 23 Nov 1997 17:31:21 -0500 From: Geoffrey Robinson Reply-To: grobin@accessv.com X-Mailer: Mozilla 4.03 [en] (Win95; U) MIME-Version: 1.0 To: questions@freebsd.org Subject: Can't get lpr working. Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk 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.