Re: [Bluez-devel] CUPS plugin discovery bits

Marcel Holtmann
2007-05-23T15:51:11Z

Hi Bastien,

> Here's a patch against CVS bluez-utils to add discovery to the CUPS
> backend. With this, it means that most CUPS front-end will be able to
> list visible printers when adding a new one, be it through the web
> interface or other front-ends (like Fedora' system-config-printer).
>
> It adds D-Bus and glib as dependencies for the backend (not that it
> matters that much...).

it actually does. We provide an eGlib for embedded systems and so when
compiled with GLib, we only use that function subset.

And second you use the GLib D-Bus bindings. I am not willing to create
these dependencies for a "daemon" package.

Another small thing is that DisocverDevices() will automatically take
care of the name resolving for you. So no need to call GetRemoteName().
You will get the RemoteNameUpdated() signal.

The thing that worries me is when you start CUPS it will list through
all backends and make them list. So on every boot the system will scan
for devices in range and that can slow down the system boot. So this
might not be a good idea. Actually that is the reason why we wanna go
for a printing service in the future.

Regards

Marcel