[cups.bugs] [LOW] STR #3222: Move Jobs moves processing jobs as stopped to destination

Roland rojon at altern.org
Thu Jun 11 14:53:44 PDT 2009


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

When using jobs to another destination, the currently processed job will
show up at the destination, but will not printed, due to it's state.
The state of these jobs is in this case IPP_JOB_STOPPED; due to a missing
restart-job the job is not easily printable after moving.
Suggest the following patch for this:
--- scheduler/job.c at 8704       Thu Apr 16 21:32:04 2009
+++ scheduler/job.c       Fri Apr 17 13:16:14 2009
@@ -1351,6 +1351,9 @@
                 "Job #%d moved from %s to %s.", job->id, olddest,
                p->name);

+  if (job->state_value == IPP_JOB_STOPPED)
+    cupsdRestartJob(job);
+
   cupsdSaveJob(job);
 }

which will restart the job after moving to the new destination.

Link: http://www.cups.org/str.php?L3222
Version: 1.3.10





More information about the cups-devel mailing list