[cups] "Share This Printer" by default?

Johannes Meixner jsmeix at suse.de
Fri Jan 9 07:41:47 PST 2015


Hello

On Jan 9 10:25 Alex Korobkin wrote:

> I use this patch to have the checkbox checked by default:
>
> --- a/templates/add-printer.tmpl
> +++ b/templates/add-printer.tmpl
> @@ -34,7 +34,7 @@
> </TR>
> <TR>
> <TH CLASS="label">Sharing:</TH>
> -<TD><INPUT TYPE="CHECKBOX" NAME="PRINTER_IS_SHARED"
> {PRINTER_IS_SHARED=1?CHECKED:}>
> +<TD><INPUT TYPE="CHECKBOX" NAME="PRINTER_IS_SHARED" CHECKED>
> Share This Printer</TD>
> </TR>
> <TR>

I can confirm that in the CUPS 1.7.5 web frontend when adding
a print queue the "Share This Printer" checkbox is not checked
regardless that the DefaultShared directive for the cupsd is "yes"
and as a consequence leaving the checkbox unchecked results
the queue in /etc/cups/printers.conf with "Shared No".

In contrast using "lpadmin" results the queue in /etc/cups/printers.conf
with "Shared Yes".

Currently I cannot test if it is perhaps already fixed for CUPS 2.0.1.

Michael Sweet
should I submit a bug report at cups.org?


Kind Regards
Johannes Meixner
-- 
SUSE LINUX GmbH - GF: Felix Imendoerffer, Jane Smithard, Jennifer Guild,
Dilip Upmanyu, Graham Norton - HRB 21284 (AG Nuernberg)




More information about the cups mailing list