ad-hoc cups-polld

angelb angelb at bugarin.us
Tue Mar 27 13:42:25 PDT 2007


Hello all.

When starting cups-polld ad-hoc, it adds an entry into the printcap
file for a new printer queue which is a good thing and as expected.

However, when a printer queue has been removed from the server and
then run cups-polld, the printer queue remains in the client and the
printcap file doesn't get updated. In fact, when the normal polling
occurs, the client doesn't seem to get update anymore; the deleted
queue remains in printcap.

Also, when running an lpstat in a client, it returns the queue even
though the queue no longer exist in the servers.

Client side:
# lpstat -pabricoh
printer abricoh is idle.  enabled since Tue Mar 27 15:11:49 2007

# lpstat -h stlam506 -pabricoh
lpstat: Unknown destination "abricoh"!

# lpstat -h stlam507 -pabricoh
lpstat: Unknown destination "abricoh"!

Server side:
# lpstat -pabricoh
lpstat: Unknown destination "abricoh"!


a. On ad-hoc cups-polld where a deleted queue was made, why is it the
   client does not get the update?

b. When running lpstat, does the client request info from the servers
   ot does it check its cache?

c. Not as critical - when running ad-hoc cups-polld, it seems to affect
   subsequent polling.


Or, is there a correct way to stop/start cups-polld ad-hoc to avoid the
issues described above? For testing this is how I start it(fg just to
see what it's doing):

cups-polld stlam506 631 3600 631

Any suggestions?

Thanks,
Angel




More information about the cups mailing list