[cups.development] [RFE] STR #1265: When cupsd is loaded, set queue to stopped if required backend does not exist
jfehlig at novell.com
Thu Sep 8 15:35:36 PDT 2005
If a backend required by a queue does not exist, set the queue state to
stopped when cupsd is loaded. No use having the queue in ready state when
there will be no possibility to print jobs due to non-existent backend.
Attached is a patch to scheduler/printers.c created from trunk. Added a
local function named check_printer_state_at_load() which at this time only
verifies that backend specified by scheme component of device uri actually
exists in the proper location. The check is ignored if backend type is
check_printer_state_at_load() is called by LoadAllPrinters() after the
entire printer record is read from printers.conf. Additional state checks
may be added to check_printer_state_at_load() in the future.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the cups