Your message dated Thu, 30 Aug 2007 15:11:37 -0400
with message-id <[EMAIL PROTECTED]>
and subject line 
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: gimp
Version: 2.2.6-1
Debian-3.1
printing system: lpr (with lpstat)

Print plug-in duplicates printer and forgets printer settings. See bug
#149324 for gimp1.2-print of Debian-3.0.

Bug is fixed upstream in file print.c of gimp-print-4.2.7 (and
-4.2.5), but building them --with-gimp does not work on Debian-3.1 (->
empty Makefiles), although it worked for -4.2.5 on Debian-3.0. Print
plugin is now provided by the gimp deb-package, but that contains a
print.c which does not have the bugfix, although the files version
number is higher than in gimp-print-4.2.7.

These are the bugfix lines with some context in gimp-print-4.2.7:

          case PRINTERS_LPC :
              if (!strncmp(line, "Press RETURN to continue", 24) &&
                  (ptr = strchr(line, ':')) != NULL &&
                  (strlen(ptr) - 2) < (ptr - line))
                strcpy(line, ptr + 2);

              if ((ptr = strchr(line, ':')) != NULL &&
                  line[0] != ' ' && line[0] != '\t')
              {
                int printer_exists = 0;
                *ptr = '\0';
                /* check for duplicate printers--yes, they can happen,
                 * and it makes gimp-print forget everything about the
                 * printer */
                for (i = 1; i < plist_count; i++)
                  if (strcmp(line, plist[i].name) == 0)
                    {
                      printer_exists = 1;
                      break;
                    }
                if (printer_exists)
                  break;

                check_plist(plist_count + 1);

and:

          case PRINTERS_LPSTAT :
              if ((sscanf(line, "printer %127s", name) == 1) ||
                  (sscanf(line, "Printer: %127s", name) == 1))
              {
                int printer_exists = 0;
                /* check for duplicate printers--yes, they can happen,
                 * and it makes gimp-print forget everything about the
                 * printer */
                for (i = 1; i < plist_count; i++)
                  if (strcmp(name, plist[i].name) == 0)
                    {
                      printer_exists = 1;
                      break;
                    }
                if (printer_exists)
                  break;
                check_plist(plist_count + 1);

Regards,

Olaf


--- End Message ---
--- Begin Message ---
Version: 2.4.0~rc1-1

This should be fixed with the new GtkPrint-based print interface.


--- End Message ---

Reply via email to