You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 "file".
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.
The text was updated successfully, but these errors were encountered:
Version: 1.2-feature
CUPS.org User: jfehlig
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 "file".
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.
The text was updated successfully, but these errors were encountered: