[Printing-architecture] Automatic printer setup with Printer Applications

Johannes Meixner jsmeix at suse.de
Fri Feb 26 09:17:25 UTC 2021


On 2021-02-24 18:23, Till Kamppeter wrote:
> On 24/02/2021 15:01, Johannes Meixner wrote:
>> I took me some longer time of experience what works
>> reasonably well in practice out there in real world
>> how to auto-match based on the manufacturer & model
>> strings which is the only data that is always there.
> I go a similar way, matching by make and model
> What I do is taking the observed make and model,
> normalizing it to some form
> The names in the list of supported models
> I normalize the same way.

I did same i.e.
normalizing make and model what the system reports and
normalizing make and model in the PPDs in the same way,
then some "fuzzy match" to get a list of PPDs
that "somehow match" the reported make and model
with some "special sorting" to put the "somehow best match"
on top of that list and
finally show that list to the user so he can select one.

In automated setup case the topmost entry of that list
is used.

I vaguely described that in

By the way 1:
For my general point of view about
"Automated Printer Configuration" see
versus the subsequent section
"Manual Printer Configuration with the YaST Printer Module"

By the way 2:
In practice the current "YaST Printer Module" is dead code, cf.
I wished those who make the decisions would finally let it RIP.

Kind Regards
Johannes Meixner
SUSE Software Solutions Germany GmbH
Maxfeldstr. 5 - 90409 Nuernberg - Germany
(HRB 36809, AG Nuernberg) GF: Felix Imendoerffer

More information about the Printing-architecture mailing list