From: Michael R Sweet Date: Thu, 17 Apr 2025 19:29:03 +0000 (-0400) Subject: Only enable and accept jobs for temporary queues once IPP Everywhere PPD is created... X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50bc1d5c15bd968d9eac5b8437fdff128f3a1ddd;p=thirdparty%2Fcups.git Only enable and accept jobs for temporary queues once IPP Everywhere PPD is created (Issue #1235) --- diff --git a/scheduler/ipp.c b/scheduler/ipp.c index 0708fb85db..a53f38cbe0 100644 --- a/scheduler/ipp.c +++ b/scheduler/ipp.c @@ -5319,8 +5319,12 @@ create_local_bg_thread( cupsRWLockWrite(&printer->lock); printer->config_time = time(NULL); - printer->state = IPP_PSTATE_IDLE; - printer->accepting = 1; + + if (printer->temporary) + { + printer->state = IPP_PSTATE_IDLE; + printer->accepting = 1; + } cupsRWUnlock(&printer->lock);