Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Dec 2001 16:12:09 -0500
From:      Garance A Drosihn <drosih@rpi.edu>
To:        "Richard E. Hawkins" <dochawk@psu.edu>, freebsd-questions@FreeBSD.ORG
Subject:   Re: lpd: "unable to contact server" (on a parallel port???)
Message-ID:  <p0510100bb83ad4e65c80@[128.113.24.47]>
In-Reply-To: <200112101725.fBAHPmg31541@fac13.ds.psu.edu>
References:  <200112101725.fBAHPmg31541@fac13.ds.psu.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p0510100bb83ad4e65c80>