[Printing-architecture] Some suggestions for the DNS-SD (Bonjour) printer support in the dialog

Till Kamppeter till.kamppeter at gmail.com
Thu May 16 19:48:00 UTC 2013


this is a follow-up to the discussion I had with you about the direct
discovery of IPP printers via Bonjour by the new GTK print dialog and
how the dialog submits jobs to these printers.

First, as I said, the job needs to get spooled somehow, so that it does
not block the client app in case of a large job or the printer suddenly
not continuing to take data (paper out, disappearing on network, ...).
Preferably this should be done by CUPS (creating a temporary queue) so
that the user can control the job (hold, cancel, ...) by the system's
job viewer.

On the other side, not every user is allowed to create CUPS queues,
meaning that for these printers to work generally, the dialog would need
to spool by itself, meaning that the job does not appear in the job
viewer and the user has the hassle of different methods of controlling
his print jobs.

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 ...

But the good side of the discovery of IPP printers via the print dialog
is that one does not need PPD files. cups-browsed has to generate a PPD
file to make the print dialog list the options of the CUPS queue
genberated by cups-browsed.

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?

Marek, another important thing: To do IPP printer discovery and polling
capabilities from IPP printers correctly, the PWG has created the "Best
Practices" document:


This gives valuable hints, especially for getting the correct option set
and to handle conflicts of the option settings.


More information about the Printing-architecture mailing list