[Printing-architecture] Future of Printer Setup Tools
till.kamppeter at gmail.com
Tue Mar 2 10:58:32 UTC 2021
thanks to all of for the fruitful discussion in the thread
Automatic printer setup with Printer Applications
here on the mailing list.
As a conclusion I would say that we really will not need any more a tool
which automatically sets up classic (not driverless IPP) USB (or even
network) printers when connecting them and turning them on.
But we should not let the user get lost without having any reference to
find and manage printers in the desktop.
We should rather transition the printer setup tools (like
system-config-printer) to the new architecture.
A typical printer setup tool consists of two parts:
1. The main window: This part shows all already set up CUPS queues and
you can do changes on them and list and manipulate jobs here.
2. The add-printer wizard: This part pops up if you click the button for
adding a new print queue. It shows the printers which CUPS discovered
with its backends and you create a queue by selecting one of the
printers and assigning driver and queue name to it.
Now to transition to the new architecture, where printers (and scanners)
are IPP services and not CUPS queues with assigned filter/PPD drivers
any more, we should transition the two parts as follows:
1. The main window: Here we list all IPP services. Each IPP service
(defined by a host and a port) is a main entry. Under an IPP service
there can be 0 (e. g. Printer Application before creating the first
print queue), 1 (e. g. simple single-function IPP printer), or more (e.
g. IPP multi-function printers, Printer Application with more than one
queue) entries for printers/scanners/faxes. Each main entry should get
two buttons, one to open the web admin interface and one for IPP System
Service status/configuration. The printer/scanner entries can also have
buttons, for example to directly link to job list, options panel, ... in
the web interface, for pause/resume, set as default, ... All info for
this can be taken from DNS-SD (see avahi-discover output).
2. The add-printer wizard: Here we should have a guide for the user to
find and set up classic printers. by listing discovered printers,
listing installed Printer Applications (with polling them whether they
support the printer), do a Snap Store search with the make/model of the
printer and the word "printer", ... No auto-association and evaluation
of drivers to the printer required.
(1) Can also get extended to a general DNS-SD-based network service
lister (imaging the user can also reach the web interfaces of his router
and his smart home devices by a click on a button). This is so-to-say
the user-friendly version of the admin tool avahi-discover.
These tools can be stand-alone, but ideally (1) would be a module of the
GNOME Control Center and (2) would pop up by a button at the top of (1)
(like the current "Printers" module in GNOME Control Center).
More information about the Printing-architecture