[cups] "Share This Printer" by default?

Grant emailgrant at gmail.com
Fri Jan 9 13:05:12 PST 2015


> Existing bug:
>
>         https://www.cups.org/str.php?L3777


Should the CUPS web interface say "Not Shared" for a printer that was
set up with the Share This Printer checkbox checked?  Bug?

- Grant


>>> 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?



More information about the cups mailing list