[Printing-architecture] Automatic printer setup with Printer Applications
till.kamppeter at gmail.com
Thu Feb 25 19:39:44 UTC 2021
On 25/02/2021 14:43, Michael Sweet wrote:
> That is certainly one approach, and if Canonical is going to provide some general support for finding snaps that support particular hardware (not just printers) then it makes sense.
> That said, the number of printer applications is not likely to be huge (LPrint, hp-printer-app, and ps-printer-app make 3, and potential future HP-LIP and Gutenprint printer applications make 5), so even if you just maintained files with the latest "app-name drivers" output you'd be able to do a good job of mapping printers to printer applications.
First, there will come more Printer Application, one will be the
Foomatic/Ghostscript/Unmaintained-Legacy one, a SANE legacy one, then
there is probably also a Braille embosser one, and some for (2-3) for
other maintained drivers. In addition to that some manufacturers will
put up some for their specialty printers.
For the maintained ones there can often appear updates with new models.
So maintaining model indices of the Printer Applications externally and
having them in packages which the distros ship is not a good idea. A
standard way to get the model list out of a running Printer Application
is already a good step. As we talked about earlier we can expand the
"app-name drivers" with options so that you can get a more
machine-readable list and device IDs.
For keeping up with not installed but available Printer Applications I
think hardware-signature-based search in the Snap Store would be the
> Remember, Printer Applications are addressing a short term (~10 year?) need to support legacy printers, at which point the primary users will be "experts" that wouldn't use the default printer application/IPP Everywhere support anyways. New printers almost universally support IPP (the outliers being for "experts").
So one should not need to invest too much time for their perfect
Hardware-signature-based search in the Snap Store is not only for
Printer Applications, and in other hardware categories drivers or
otherwise hardware-related Snaps could be more common.
A GUI application/GNOME Control Center module which lists available
Printer Application and provides buttons to their web interfaces,
auto-add, IPP System Service, ... could be made as general user-oriented
DNS-SD service lister, where the user also easily finds web interfaces
for routers, access points, smart home devices, ...
Only the USB auto-setup tool is something more transitional which
perhaps could go away in 10 years or so.
More information about the Printing-architecture