Hmmm, this does seems to be broken, as far as I can see - we need this
for Java, as a strace reveals it does an lpc -a status to find
available printers.

Just to reiterate, lpc doesn't seem to be properly querying the
printcap for 'all'....

[locke]toby: lpc -a status
Printer '[EMAIL PROTECTED]' - cannot open connection - No such file or directory
Make sure the remote host supports the LPD protocol
and accepts connections from this host and from non-privileged (>1023) ports
[locke]toby:

It seems to think there's an [EMAIL PROTECTED], instead of looking up the
printcap.  Whereas, if I pipe 'all' to our printcap-lookup utility:

[locke]toby: echo all|pcap-query 
fh2|fh-c25|hpfh2|HP Laserjet 4100DTN [1200dpi] in C25 FH:[EMAIL 
PROTECTED]:tc=.krbclienfh
.....a big long list of printers.

And getting an 'lpc status' of a specific printer works fine:

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

Toby


-----------------------------------------------------------------------------
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