From owner-freebsd-questions Mon Dec 10 13:13:20 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mail.rpi.edu (mail.rpi.edu [128.113.22.40]) by hub.freebsd.org (Postfix) with ESMTP id E96EE37B405 for ; Mon, 10 Dec 2001 13:13:14 -0800 (PST) Received: from [128.113.24.47] (gilead.acs.rpi.edu [128.113.24.47]) by mail.rpi.edu (8.11.3/8.11.3) with ESMTP id fBALCBJ152496; Mon, 10 Dec 2001 16:12:11 -0500 Mime-Version: 1.0 X-Sender: drosih@mail.rpi.edu Message-Id: In-Reply-To: <200112101725.fBAHPmg31541@fac13.ds.psu.edu> References: <200112101725.fBAHPmg31541@fac13.ds.psu.edu> Date: Mon, 10 Dec 2001 16:12:09 -0500 To: "Richard E. Hawkins" , freebsd-questions@FreeBSD.ORG From: Garance A Drosihn Subject: Re: lpd: "unable to contact server" (on a parallel port???) 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 At 12:25 PM -0500 12/10/01, Richard E. Hawkins wrote: >I'm experiencing weirdproblems untilo my own machine comes back, >apparently from minor differences betwen the thinkpad A21p and A22m. >Last week printing wouldn't work properly (but characters sort of came >through). I tried again today, but my application (lyx) is told, > >lp: error - no default destination available. > >checking with lpq gives the result, > >lpq: Unable to contact server! > >/etc/printcap still contains the single line, > > >lp|hplj4|Hp LaserJet 4:\ > :lp=/dev/lpt0:sd=/var/spool/output/lpd/:\ > :sh:pw#80:pl#66:px#1440:mx#0:\ > :if=/usr/local/libexec/magicfilter/ljet4l-filter:\ > >any ideas? Presumably it contains more than that, because that last line ends with a '\', which means it will continue on to the following line. Also, what is the line before that 'lp|...' line? Is it a comment line? Does that comment also have a '\' at the end of it? One thing you might try is to do an 'lpc status all', to see what print-queues lpc finds in /etc/printcap (this may be a different list than what *you* think is in printcap...). -- Garance Alistair Drosehn = gad@eclipse.acs.rpi.edu Senior Systems Programmer or gad@freebsd.org Rensselaer Polytechnic Institute or drosih@rpi.edu To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message