"Share this printer" not checked

Johan Bengtsson elijah at chalmers.se
Wed Feb 9 08:51:13 PST 2011


> Hi,
>
> Something I thought was a bug turned out to be a feature:
>
> http://www.cups.org/str.php?L3777
>
> So this is something that is determined by the UI...how can we change
> the setting for the UI? Or is it not possible to change without patching
> the source code??

OK, we figured this out:

# diff  /usr/share/cups/templates/add-printer.tmplBK /usr/share/cups/templates/add-printer.tmpl
37c37
< <TD><INPUT TYPE="CHECKBOX" NAME="PRINTER_IS_SHARED" {PRINTER_IS_SHARED=1?CHECKED:}>
---
<TD><INPUT TYPE="CHECKBOX" NAME="PRINTER_IS_SHARED" {PRINTER_IS_SHARED=0?CHECKED:}>
47c47
< </DIV>
\ No newline at end of file
---
</DIV>

-Johan Bengtsson







More information about the cups mailing list