found 631025 1.5.2-11
severity 631025 important
quit

Am Sonntag, den 19.06.2011, 20:38 +0200 schrieb Paul Menzel:

[…]

> I believe after every CUPS upgrade my printer is deactivated and I have
> to activate it again (using the GNOME printer dialog, the checkbox
> before »Activated« (German »Aktivieren«) is not set). I am not a 100 %
> sure because I do not always print something after every upgrade but it
> happens since over a year and I expect the upgrades are at fault.
> 
> Is that a known problem? Please tell me what other information you need
> for solving this issue.

users on my system still experience this problem. It is very annoying
because normal users are not allowed to start and stop printers and
therefore cannot fix that problem by themselves.

DebPkg:gnome-control-center is not at fault either, since it just reads
to printer state from CUPS directly [1].

          /*
           * Gather some informations about the original printer
           */
          dest = cupsGetDest (old_name, NULL, num_dests, dests);
          if (dest)
            {
              for (i = 0; i < dest->num_options; i++)
                {
                  if (g_strcmp0 (dest->options[i].name, 
"printer-is-accepting-jobs") == 0)
                    accepting = g_strcmp0 (dest->options[i].value, "true") == 0;
                  else if (g_strcmp0 (dest->options[i].name, 
"printer-is-shared") == 0)
                    printer_shared = g_strcmp0 (dest->options[i].value, "true") 
== 0;
                  else if (g_strcmp0 (dest->options[i].name, "device-uri") == 0)
                    device_uri = dest->options[i].value;
                  else if (g_strcmp0 (dest->options[i].name, 
"printer-uri-supported") == 0)
                    printer_uri = dest->options[i].value;
                  else if (g_strcmp0 (dest->options[i].name, "printer-info") == 
0)
                    printer_info = dest->options[i].value;
                  else if (g_strcmp0 (dest->options[i].name, 
"printer-location") == 0)
                    printer_location = dest->options[i].value;
                  else if (g_strcmp0 (dest->options[i].name, "printer-state") 
== 0)
                    printer_paused = g_strcmp0 (dest->options[i].value, "5") == 
0;
                  else if (g_strcmp0 (dest->options[i].name, "job-sheets") == 0)
                    job_sheets = dest->options[i].value;
                  else if (g_strcmp0 (dest->options[i].name, "printer-type") == 
0)
                    printer_type = atoi (dest->options[i].value);
                }
              default_printer = dest->is_default;
            }
          cupsFreeDests (num_dests, dests);

I also looked through `/var/log/cups/` and could not find any messages
logging that the printer was stopped.


Thanks,

Paul


[1] 
http://git.gnome.org/browse/gnome-control-center/tree/panels/printers/pp-utils.c#n1606

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to