OpenPrinting / system-config-printer

Graphical user interface for CUPS administration
GNU General Public License v2.0
160 stars 88 forks source link

Cannot detect printers' make and model shared by cups #136

Closed GreatBahram closed 5 years ago

GreatBahram commented 5 years ago

Hi,

There are circumstances that someone shares a printer via cups sharing system. system-config-printer is able to detect the printer properly; however, it seems it cannot detect printer make and model correctly. In result, client operating system does not have any idea about printer driver. Firstly, I thought this section was to blame: https://github.com/zdohnal/system-config-printer/blob/83856b9f4f37fe0df0ec23ced15b6f62109f64e2/probe_printer.py#L490-L494

GreatBahram commented 5 years ago

There are more problems:

GreatBahram commented 5 years ago

In #137, I changed the code to use ppd file that already had been download.

I've tested that it seems it works for my problem, now, system-config-printer uses appropriate drivers (the one that has been downloaded from the server). And Name suggestion has been fixed as well.

@zdohnal