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 640734 - add and remove printers
add and remove printers
Status: RESOLVED OBSOLETE
Product: gnome-control-center
Classification: Core
Component: Printers
git master
Other Linux
: Normal normal
: ---
Assigned To: Marek Kašík
Control-Center Maintainers
[gnome3-important] 3.10
Depends on:
Blocks:
 
 
Reported: 2011-01-27 16:05 UTC by William Jon McCann
Modified: 2021-06-09 16:13 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description William Jon McCann 2011-01-27 16:05:23 UTC
It would be good to be able to add and remove printers from the printers panel.  It is one of the primary use cases of this tool actually.
Comment 1 Marek Kašík 2011-02-09 16:37:22 UTC
It can remove printers now.
What should addition of printer look like? I think that it should look like the system-config-printer's addition dialog.

Marek
Comment 2 William Jon McCann 2011-02-25 23:02:17 UTC
Add printer mockups were discussed over email and on IRC.  And now added to http://live.gnome.org/Design/SystemSettings/Printers

What else do we need for this?
Comment 3 Marek Kašík 2011-02-27 12:10:17 UTC
If search for an appropriate driver fails then it would be useful to fallback to manual selection of printer driver. Something similar to s-c-p's driver selection.
It can also happen that given printer doesn't support maintenance command "AutoConfigure" which tells us which capabilities it supports (duplex print, stapler, ...). So it would be helpful to have a fallback for this too.

Marek
Comment 4 Marek Kašík 2011-03-07 16:22:25 UTC
I've just committed patch which add dialog for adding new printers. It adds devices found by cupsGetDevices() and also printers found on cups server specified in address entry. I want to add some other protocols for which it can search on given address but it will some time yet (e.g. samba).

Marek
Comment 5 André Klapper 2011-03-17 20:22:39 UTC
[Removing gnome-target and adding whitespace entry [gnome3-important] as
decided in today's release team meeting:
"→ the gnome-settings-daemon printer plugin now handles D-Bus calls from
  system-config-printer-udev. → not a *blocker* anymore", but of course still welcome to fix the remaining parts.]
Comment 6 Mattias Eriksson 2011-04-15 09:27:50 UTC
In a corporate environment with multiple network printers of the same model, it is impossible to know which printer is which. 
We have around 10 printers all of the same model on the same network, and I found out about this when I tried to add a new printer.

I suggest to add the ip-adress or hostname for network printers, or some other unique identifier.
Comment 7 Nirbheek Chauhan 2011-06-03 02:28:04 UTC
It's a rather severe bug that I can't add network printers that don't advertise themselves using mDNS/zeroconf. In situations such as universities where neither the network nor the printer is under the control of the user, entering the IP address (or hostname) manually is often the only solution.

Infact, if every other method fails, manually entering a hostname/IP address should be the fallback method that *always* works.
Comment 8 Marek Kašík 2011-06-03 11:15:16 UTC
Hi Nirbheek,

few days ago I've committed a patch which should improve adding of printers with known IP address (see commit "Printers: Use SNMP CUPS backend to discover printers on given address"). It searches given address by CUPS's SNMP backend now and offers you found printers. It typically helps to configure network printers publishing themselves on port 9100.
Btw, I continually work on this part of Printers panel so you can await some other improvements.

Regards

Marek
Comment 9 William Jon McCann 2012-02-22 16:38:38 UTC
Spent some time this week with Marek, Lapo, and Jimmac and came up with some fixes for the design.

The add printer workflow has been updated on https://live.gnome.org/Design/SystemSettings/Printers.

And a hires may be found here:
https://github.com/gnome-design-team/gnome-mockups/blob/master/system-settings/printing/add-printer-dialog.png

The idea is that:
 * Directly attached and not yet added printers would be listed at the top of the view immediately
 * Network printers would be searched for next and incrementally displayed below directly attached devices
 * Typing in the search box would filter the list of found devices, unless..
 * When the text is a hostname or URL or IP address of some kind we should poke at it and add it to the list of devices if we detect it is a printer

 * The spinner should be active only when probing, adding, or searching for printers
 * We should reprobe the network after some time (say every 20 secs or so)

 * We should automatically detect the driver to use and allow the user to change it afterwards
Comment 10 Bastien Nocera 2013-04-18 14:31:38 UTC
How much is missing from this?
Comment 11 Marek Kašík 2013-04-18 14:48:38 UTC
(In reply to comment #9)
> And a hires may be found here:
> https://github.com/gnome-design-team/gnome-mockups/blob/master/system-settings/printing/add-printer-dialog.png

Done. (but it is not exactly the same as on the picture, e.g. we don't show status, we show location)


> The idea is that:
>  * Directly attached and not yet added printers would be listed at the top of
> the view immediately

We search for directly connected printers at first. But we don't differentiate between those which are already added and those which are not.


>  * Network printers would be searched for next and incrementally displayed
> below directly attached devices

Done.


>  * Typing in the search box would filter the list of found devices, unless..

It filters the list but you have to press enter.


>  * When the text is a hostname or URL or IP address of some kind we should poke
> at it and add it to the list of devices if we detect it is a printer

If the result of the filter is empty and the string doesn't contain spaces then we suppose that it is an address and we try to detect printers on it. You have to press enter for this in the entry (detecting printers after each keypress is expensive).


>  * The spinner should be active only when probing, adding, or searching for
> printers

Done.


>  * We should reprobe the network after some time (say every 20 secs or so)

Not done.


>  * We should automatically detect the driver to use and allow the user to
> change it afterwards

Done. The only exception are samba printers, we ask user to select a driver right after he presses "Add".
Comment 12 André Klapper 2021-06-09 16:13:07 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new bug report at
  https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/

Thank you for your understanding and your help.