[6882] in testers
CUPS printcap makes LPRng sad
daemon@ATHENA.MIT.EDU (Jonathan D Reed)
Thu Apr 14 12:46:52 2005
Message-Id: <200504141646.j3EGkf0L021914@infinite-loop.mit.edu>
To: testers@MIT.EDU
Reply-To: Jonathan Reed <jdreed@MIT.EDU>
Date: Thu, 14 Apr 2005 12:46:41 -0400
From: Jonathan D Reed <jdreed@MIT.EDU>
So, discussion on -c consult this morning noted that we now have the
cups daemon installed, whereas in 9.3, we only had cups-libs. Since
CUPS is on by default, it goes out and looks for CUPS printers, and
puts them in /etc/printcap. Since LPRng looks there before going to
Hesiod, it doesn't like the format of CUPS printcap entries. For example:
infinite-loop:/afs/athena/system/rhlinux/control%lpq -Pinfoworld
bad printcap name 'AdobePDF@lunch-lady-doris.local', has ' =#@' character
The offending entry in /etc/printcap is:
AdobePDF@lunch-lady-doris.local|Adobe PDF:rm=infinite-loop.mit.edu:rp=AdobePDF@lunch-lady-doris.local:
which is a print queue on an OS X box.
Can cups be turned off in all runlevels with chkconfig? I tried it,
and it didn't seem to break anything. Is there a reason to have the
cups daemon running? I suppose local printers might be one reason,
but IIRC we've historically said that you get to write your own
/etc/printcap entries in LPRng format for a local printer, if you want
one.
-Jon
--------
Jonathan Reed
jdreed@mit.edu