Hi there,

I am seeing a problem where 'lpc -a status' doesn't work, but
referring to printers individually does.  Here's an example to
clarify:

[kant]toby: lpc -a status
[EMAIL PROTECTED]: spool queue for 'fh2' does not exist on server kant.inf.ed.ac.uk
   non-existent printer or you need to run 'checkpc -f'
[EMAIL PROTECTED]: spool queue for 'jc4' does not exist on server kant.inf.ed.ac.uk
   non-existent printer or you need to run 'checkpc -f'

... and so on and on for all the printers in our printcap.

Whereas if I refer to them individually....

[kant]toby: lpc -Pfh2 status
 Printer           Printing Spooling Jobs  Server Subserver Redirect Status/(Debug)
[EMAIL PROTECTED]          enabled  enabled    0    none    none
[kant]toby: lpc -Pjc4 status
 Printer           Printing Spooling Jobs  Server Subserver Redirect Status/(Debug)
[EMAIL PROTECTED]       enabled  enabled    0    none    none     jc4c

Firstly, it's probably important to note that our printcap entry is
actually a program (all our printcap details are stored in LDAP).  So
in our lpd.conf, we have:

printcap_path=| -$ /usr/bin/pcap-query

So, for some reason the lpc -a is failing, although it's clearly
getting the list of queuenames correctly as I get a message for them
all.

'echo all|pcap-query' works as specified too.

Can anyone help here?

Many thanks
Toby Blake
University of Edinburgh


-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

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