[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re^2: inconsistent reports from lpstat



On 04/26/2011 09:18 AM, peasthope@shaw.ca wrote:
Matt,

lpstat -t  gives you all you wanted to know about your queues.

Thanks.  t is my test file.  "lp t" works.  "lpr t" fails.

peter@joule:~$ lpr t
lpr: lp: unknown printer
peter@joule:~$ lpr -PHPDeskJet500 t
lpr: HPDeskJet500: unknown printer
peter@joule:~$ cat /etc/printcap
# This file was automatically generated by cupsd(8) from the
# /etc/cups/printers.conf file.  All changes to this file
# will be lost.
peter@joule:~$

/etc/printcap is only configuration file mentioned in
man lpr.  Should printcap contain only comments?  Does
anyone have a working lpr and non-empty printcap?

Thanks,              ... Peter E.


 My /etc/printcap only lists a non-existing dot matrix printer
and lpr works fine here.

CORRECTION of last post....Sorry

Try this
~# which lpr
/usr/bin/lpr
~#dpkg -S /usr/bin/lpr
cups-bsd: /usr/bin/lpr

If cups-bsd is not shown then remove the lpr package and install
the cups-bsd package.

Don't know what else to suggest.

Wayne


Reply to: