[cups.bugs] [HIGH] STR #2317: Jobs sent to remote classes do not print

Donald Boettner dwb at umich.edu
Thu Mar 29 10:25:12 PDT 2007


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

[STR New]

This is a reprise of STR 2228 that I submitted. Michael Sweet rewrote my
fix, and while his rewrite also prevents the infinite looping, it has the
side effect of never allowing jobs for remote classes to print.  Below is
my rewrite of his rewrite (in cupsdCheckJobs in scheduler/job.c): 

     while (printer &&
             (printer->type & (CUPS_PRINTER_IMPLICIT |
CUPS_PRINTER_CLASS)))
      {
       /*
        * If the class is remote, just pass it to the remote server...
	*/

        pclass = printer;

	    if (pclass->state == IPP_PRINTER_STOPPED)
	      printer = NULL;
        else if (!(pclass->type & CUPS_PRINTER_REMOTE))
          printer = cupsdFindAvailablePrinter(job->dest);
	    else
	      break;
      }

Link: http://www.cups.org/str.php?L2317
Version: 1.2.8





More information about the cups-devel mailing list