[cups.general] Shared by default

Alex Korobkin korobkin+cups at gmail.com
Mon Dec 10 11:01:22 PST 2012


On 10 December 2012 13:38, Michael Sweet <msweet at apple.com> wrote:

> Alex,
>
> On 2012-12-07, at 2:28 PM, Alex Korobkin <korobkin+cups at gmail.com> wrote:
>
> Hi all,
>
> I want to see the checkbox "Share This Printer" to be checked by default,
> when adding a new printer to CUPS 1.5.4 via web interface.
>
> add-printer.tmpl has this snippet:
>
> <TD><INPUT TYPE="CHECKBOX" NAME="PRINTER_IS_SHARED"
> {PRINTER_IS_SHARED=1?CHECKED:}>
>
> However, I don't see any examples of a checked box in other tmpl files.
> How to modify it to have this option checked by default?
>
>
> Just replace with:
>
>     <TD><INPUT TYPE="CHECKBOX" NAME="PRINTER_IS_SHARED" CHECKED>
>
> Also, why do printers that are certainly shared (and were created as
> shared) have "(Idle, Accepting Jobs, Not Shared)" displayed in the header
> when you open them in web interface?
>
>
> The value shown depends on whether printer sharing is enabled on the
> server (a printer might be shared but if sharing is not enabled then it
> will still not be sharable, if that makes sense?)
>
>
That's cupsctl --share-printers --remote-any, it seems.
Thanks for the hints, Michael!


>  __________________________________________________
> Michael Sweet, Senior Printing System Engineer, PWG Chair
>
>
> _______________________________________________
> cups mailing list
> cups at easysw.com
> http://lists.easysw.com/mailman/listinfo/cups
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cups.org/pipermail/cups/attachments/20121210/bd6cde45/attachment-0001.html>


More information about the cups mailing list