[cups.development] [RFE] STR #3052: lpstat (or protocol) should show if printer was detected automatically

martin.pitt.canonical martin.pitt at canonical.com
Tue Jan 6 04:12:48 PST 2009


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

The main reason why Debian/Ubuntu does not enable automatic printer
detection by default is that there is no way to tell apart locally
configured (and thus trusted) printers from those which got detected
automatically (and thus open the possibility of luring someone into
printing confidential material onto a rogue network printer).

E. g. I have a locally configured "local_ps" printer, and an ML-1610 which
comes through cups browsing detection. In GTK, it looks like this:

  http://people.ubuntu.com/~pitti/screenshots/print_dialog_gtk.png

they look exactly the same. I'd like to change that to separate the
locally configured from the remotely detected ones, but right now cups
does not seem to provide this information:

$ LANG= lpstat -t
scheduler is running
system default destination: local_ps
device for local_ps: socket://localhost:9100
device for ML-1610: ipp://10.28.130.200:631/printers/ML-1610
local_ps accepting requests since Tue Jan  6 12:51:30 2009
ML-1610 accepting requests since Tue Jan  6 12:48:27 2009
printer local_ps is idle.  enabled since Tue Jan  6 12:51:30 2009
printer ML-1610 is idle.  enabled since Tue Jan  6 12:48:27 2009
0 martin at tick:~
$ LANG= lpstat -v
device for local_ps: socket://localhost:9100
device for ML-1610: ipp://10.28.130.200:631/printers/ML-1610

Is it possible to show a "local" vs. "autodetected" flag in this output,
perhaps with an additional command line output to retain the default
output format? Or just add this feature to the libcups protocol, so that
the GTK/Qt/etc. print dialogs can make use of it?

Thank you!

Link: http://www.cups.org/str.php?L3052
Version:  -feature





More information about the cups-devel mailing list