After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 705851 - Printer discovery fails when more than one printer of a certain type
Printer discovery fails when more than one printer of a certain type
Status: RESOLVED OBSOLETE
Product: gnome-control-center
Classification: Core
Component: Printers
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Marek Kašík
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-08-12 15:20 UTC by David Woodhouse
Modified: 2013-08-14 20:57 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description David Woodhouse 2013-08-12 15:20:39 UTC
I have two printers of the *same* model which are autodiscovered by CUPS.

When trying to add printers via GNOME control center, only *one* of these two printers is shown.

To reproduce, add a simple shell script in /usr/lib/cups/backend/foo which contains the following:

#!/bin/sh

cat <<EOF
socket socket://127.0.0.1:9100 "foo1" "bar1" "MDL:HP LaserJet M5035 MFP" "left"
socket socket://127.0.0.2:9100 "foo2" "bar2" "MDL:HP LaserJet M5035 MFP" "right"
EOF
Comment 1 David Woodhouse 2013-08-14 20:57:19 UTC
Device class in the above example should be 'network' rather than 'socket'. Fixing this makes it work as expected.