I'm having a problem accessing printcap information from the NIS
database and I was wondering if anybody else out there could shed some
light on the matter. Currently I'm using LPRng 3.6.24 on a Solaris 2.6
system, with the NIS/printcap information from Paul Haldane in the
HOWTO's.

The problem occurs whenever the value 'all' is passed as a key in the
NIS map. This happens whenever lpd starts, lpq -a, lpc reread, lpc
status all, etc. When lpd is started via command line (vice lpc reread),
it spits out and error and continues to run. At this time if I run lpq
-P print_queue, lpr -P print_queue print_job, etc. all is fine.

error message:

Filterprintcap: filter '|/opt/LPRng/etc/printcap.filter' failed - No
such file or directory


I checked out an older version of LPRng (LPRng 3.6.12) with the same
results, different error message:

Can't match key all in map printcap.byname.  Reason: no such key in map.

Filterprintcap: filter process exited with status 1


My first impression is how LPRng handles wildcard or all encompassing
readings of the printcap database, but I'm not a code junkie and can not
find anything useful in the source code. Truss or Debug output can be
available upon request.


Any help or information is appreciated.


--
David Ristau
Unix System Administrator
Canada Centre for Remote Sensing




-----------------------------------------------------------------------------
If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to