On Sun, 2005-08-14 at 17:48 +0200, Sergio Gelato wrote: > Unfortunately it's not quite enough for S20xprint to be lexically later > that S20cupsys. It can take cupsd a few seconds to build up its list of > remote printers, and on fast machines we often see Xprt start before > that task is complete; users then complain about missing printers in > Mozilla's list. > > A workaround is to "/etc/init.d/xprint restart" some time later, but > that brings its own problems (see bug #304026, fixed post-sarge). >
Aye, it's an issue that I don't have a clear solution to. Hardcoding a sleep into /etc/init.d/xprint is the best I can think of off hand. Or maybe we would have the script check its entries before it exits, and if nothing is there it can try once more. > More fundamentally, CUPS printers can both appear and disappear during > normal system operation; this is especially true of remote printers > detected by IPP's browsing mechanism. To cope with this situation, > Xprt ought to refresh its printer list automatically from time to time. Yes, I think there is an upstream bug against this. In the meantime xprehashprinterlist has been provided as simple way of manually refreshing the list. Drew -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

