Package: printer-driver-gutenprint
Version: 5.3.3-2
Severity: normal
Tags: patch upstream

Hi Odyx, dear maintainer,

there is a typo in the gutenprint backend for the Canon CP300 (Postcard)
printer.  This printer seems to be detected and configured nicely by
cups, however when printing, the error "unknown backend" is reported
and nothing happens.  The printer is automatically configured with the
URI: 

     "DeviceURI gutenprint53+usb://selpyhcp300/NONE_UNKNOWN"
                                   ^^^^^^
Looking at the sources gives a single occurence of 'selpyh', at all
other places instead of 'selpyh' the string 'selphy' is used
(c.f. patch).  When the device URI in /etc/cups/printers.conf is
modified to read: 

     "DeviceURI gutenprint53+usb://selphycp300/NONE_UNKNOWN",
                                   ^^^^^^
printing works fine.

Best regards,

  Andi



-- System Information:
Debian Release: bullseye/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: armhf

Kernel: Linux 5.2.0-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages printer-driver-gutenprint depends on:
ii  cups                             2.3.0-5
ii  cups-client                      2.3.0-5
ii  cups-filters [ghostscript-cups]  1.25.11-1
ii  libc6                            2.29-2
ii  libcups2                         2.3.0-5
ii  libgutenprint9                   5.3.3-2
ii  libusb-1.0-0                     2:1.0.23-1
ii  zlib1g                           1:1.2.11.dfsg-1+b1

printer-driver-gutenprint recommends no packages.

Versions of packages printer-driver-gutenprint suggests:
pn  gutenprint-doc      <none>
pn  gutenprint-locales  <none>

-- no debconf information
>From 8c471b4bf862dfb684cdb94be9d9086064241cc9 Mon Sep 17 00:00:00 2001
From: "Andreas B. Mundt" <a...@debian.org>
Date: Fri, 1 Nov 2019 21:42:04 +0100
Subject: [PATCH] Fix typo concerning CP-300.

---
 src/cups/backend_canonselphy.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/cups/backend_canonselphy.c b/src/cups/backend_canonselphy.c
index 978df0d..3ef0c31 100644
--- a/src/cups/backend_canonselphy.c
+++ b/src/cups/backend_canonselphy.c
@@ -1165,7 +1165,7 @@ struct dyesub_backend canonselphy_backend = {
                { USB_VID_CANON, USB_PID_CANON_CP100, P_CP_XXX, NULL, 
"canon-cp100"},
                { USB_VID_CANON, USB_PID_CANON_CP200, P_CP_XXX, NULL, 
"canon-cp200"},
                { USB_VID_CANON, USB_PID_CANON_CP220, P_CP_XXX, NULL, 
"canon-cp220"},
-               { USB_VID_CANON, USB_PID_CANON_CP300, P_CP_XXX, NULL, 
"selpyhcp300"},
+               { USB_VID_CANON, USB_PID_CANON_CP300, P_CP_XXX, NULL, 
"selphycp300"},
                { USB_VID_CANON, USB_PID_CANON_CP330, P_CP_XXX, NULL, 
"canon-cp330"},
                { USB_VID_CANON, USB_PID_CANON_CP400, P_CP_XXX, NULL, 
"canon-cp400"},
                { USB_VID_CANON, USB_PID_CANON_CP500, P_CP_XXX, NULL, 
"canon-cp500"},
-- 
2.23.0

Reply via email to