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 698350 - print dialog should not expose printer classes
print dialog should not expose printer classes
Status: RESOLVED NOTABUG
Product: gtk+
Classification: Platform
Component: Printing
3.4.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2013-04-19 10:11 UTC by Dimitri Papadopoulos
Modified: 2014-03-12 10:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot shows printer dialog exposing CUPS printer class "NeuroSpin" as a printer (37.14 KB, image/png)
2013-04-19 10:11 UTC, Dimitri Papadopoulos
Details

Description Dimitri Papadopoulos 2013-04-19 10:11:12 UTC
Created attachment 241889 [details]
screenshot shows printer dialog exposing CUPS printer class "NeuroSpin" as a printer

The Gnome printer dialog exposes CUPS printer classes. One cannot print to printer classes. The print dialog ought to filter printer classes out.

Here is part of the CUPS setup at my lab:

$ lpstat -c
[...]
members of class NeuroSpin:
        NeuroSpin-B-HL5250DN-145-172
[...]
$ lpstat -v NeuroSpin
device for NeuroSpin: ///dev/null
$

The Gnome printer dialog exposes "NeuroSpin" as a regular printer and of course printing to it does not result in actual printing.
Comment 1 James Cloos 2013-04-20 20:31:32 UTC
The whole point of classes in cups is that they stand in for a set of printers.

Sending the job to a class sends it on to the next available printer in that class.

Classes SHOULD be listed as available printers in any print dialog.

If printing fails when selecting a cups class in a gtk+ print dialog, that is a bug, but the bug is not in offering classes in the dialog.

Any bug here is most likely due to gtk+’s refusal to use the cups api.
Comment 2 Marek Kašík 2014-03-12 10:43:58 UTC
Hi Dimitri,

as James explained, classes should be listed in the print dialog. The fact that printing to the class NeuroSpin doesn't print anything is probably a configuration problem. I can print to classes just fine.
I'm closing this as notabug.

Regards

Marek
Comment 3 Dimitri Papadopoulos 2014-03-12 10:49:44 UTC
I understand. Maybe printing to the class does work here, but since there are a dozen printers throughout the building, maybe I was't able to spot which printer had been used.