CUPS in a snap: Using content interface to connect printer driver snaps
Jamie Bennett
jamie.bennett at canonical.com
Thu Jan 26 10:06:29 UTC 2017
> On 26 Jan 2017, at 07:50, Alberto Mardegan <alberto.mardegan at canonical.com> wrote:
>
> On 25/01/2017 21:29, Till Kamppeter wrote:
>> So CUPS needs to provide a slot to take these files somehow and this
>> slot needs to accept any printer driver snap and any number of printer
>> driver snaps.
>>
>> Can one do this with the "content" interface? And if yes, how?
>
> Note: snapd developers are very welcome to correct me if I'm wrong. :-)
>
> My understanding is that this is currently not possible, but it's being
> worked on in an effort called "interface hooks": these are executables
> shipped by your snap which will be run whenever an interface gets
> connected. They can be provided either by the consumer snap (plug) or by
> the provider snap (socket), or both. You could use them to register the
> driver into cups.
>
> By the way, do we have an ETA for this feature? I'm also in a badly need
> for it. :-)
The work is progressing nicely but no definitive ETA at the moment. We are all looking forward to seeing it as soon as possible.
> Ciao,
> Alberto
Regards,
Jamie.
More information about the Snapcraft
mailing list