[cups] "Share This Printer" by default?

Michael Sweet msweet at apple.com
Fri Jan 9 07:56:50 PST 2015


Existing bug:

	https://www.cups.org/str.php?L3777

> On Jan 9, 2015, at 10:41 AM, Johannes Meixner <jsmeix at suse.de> wrote:
> 
> 
> 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)
> 
> _______________________________________________
> cups mailing list
> cups at cups.org
> https://www.cups.org/mailman/listinfo/cups

_________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair




More information about the cups mailing list