From owner-freebsd-questions Sun Feb 17 14:10:58 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mail.netizen.co.za (situs.netizen.co.za [209.61.189.116]) by hub.freebsd.org (Postfix) with ESMTP id A178337B400 for ; Sun, 17 Feb 2002 14:10:52 -0800 (PST) Received: from evrtwa1-ar4-190-174.evrtwa1.dsl.gtei.net ([4.34.190.174] helo=gramroam.bradygirl.com) by mail.netizen.co.za with asmtp (Exim 3.34 #1) id 16cZWK-000GQk-00 for questions@freebsd.org; Sun, 17 Feb 2002 16:10:57 -0600 Message-Id: <5.1.0.14.0.20020217140408.02a208b0@situs2.netizen.co.za> X-Sender: gram@situs2.netizen.co.za X-Mailer: QUALCOMM Windows Eudora Version 5.1 Date: Sun, 17 Feb 2002 14:11:03 -0800 To: questions@freebsd.org From: Graham Wheeler Subject: lpd not reading printcap? Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi all I am having problems getting remote printing to work. I've done this many times before successfully, and can't understand why I am now having problems. I have a very simple /etc/printcap file, along the lines of: lprem:rm=printserv:sh:sf:lf=/var/log/lpd-errs When I start up lpd, I get two log messages: lpd: Cannot open /dev/lp: No such file or directory If I try to print to lprem, using "lp -d lprem", I get a message saying the printer is not known. If I just use lp without a -d argument, the file gets queued, but lpd again complains of being unable to open /dev/lp. If I make a link from /dev/lp to /dev/lpt0, then an lpc status tells me that the printer may be offline. In short, it appears that the /etc/printcap file is being ignored by lpd, and it is defaulting to /dev/lp. I'm running 4.5S, last cvsupped about 2 weeks ago. Any ideas, anyone? gram To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message