[Printing-architecture] Some suggestions for the DNS-SD (Bonjour) printer support in the dialog
msweet at apple.com
Fri May 17 05:32:06 UTC 2013
On May 16, 2013, at 12:48 PM, Till Kamppeter <till.kamppeter at gmail.com> wrote:
> Probably the best way is really the system service cups-browsed for
> discovering, setting up, and taking down Bonjour/IPP network printers
> then, and not the dialog ...
cups-browsed is an interesting stop-gap solution, but I really, *really* don't think you want to be doing what you are doing - resolving a printer will wake it up. Doing it on every computer will cause a LOT of network traffic and generally NOT provide a good user experience.
> Mike, WDYT? As I understand all this, local spooling is needed for every
> Bonjour-discovered IPP printer as it can suddenly disappear or stop
> taking data. Am I right? So if the dialog sends jobs directly to a
> remote printer/print server, it can easily block. Is this correct?
You need some sort of local spooling, but it need not be cupsd doing the spooling. Consider writing a small DBUS-based spooler that provides UI for monitoring and canceling the job. This spooler could also handle the basic conversion from PDF to PWG Raster and could despool to cupsd or direct to a printer.
Michael Sweet, Senior Printing System Engineer, PWG Chair
More information about the Printing-architecture