[cups] "Share This Printer" by default?

Michael Sweet msweet at apple.com
Mon Jan 12 16:59:21 PST 2015


Grant,

If sharing is enabled, it should say "shared".

> On Jan 9, 2015, at 4:05 PM, Grant <emailgrant at gmail.com> wrote:
> 
>> 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?
> _______________________________________________
> 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