OpenPrinting / system-config-printer

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

system-config-printer not found some drivers/models/ppd, but CUPS:631 found #347

Closed x09 closed 9 months ago

x09 commented 9 months ago

This is not the first time I have noticed that system-config-printer does not find some device models. But the CUPS web interface finds them! Why?

[root@alt-wks-k2 ~]# ls -l /usr/share/cups/model/Kyocera/Kyocera_FS-1040GDI.ppd -rw-r--r-- 1 root root 24780 фев 14 12:53 /usr/share/cups/model/Kyocera/Kyocera_FS-1040GDI.ppd

[root@alt-wks-k2 ~]# grep filter /usr/share/cups/model/Kyocera/Kyocera_FS-1040GDI.ppd *cupsFilter: "application/vnd.cups-raster 0 /usr/lib/cups/filter/rastertokpsl"

[root@alt-wks-k2 ~]# ls -l /usr/lib/cups/filter/rastertokpsl -rwxr-xr-x 1 root root 213008 фев 14 12:53 /usr/lib/cups/filter/rastertokpsl

изображение

x09 commented 9 months ago

solved.

My PPD files is wrong I see https://www.cups.org/doc/spec-ppd.html#I18N and fix it

diff Kyocera_FS-1040GDI.ppd Kyocera_FS-1040GDI.orig.txt
36d35
< *cupsLanguages: "en ru_RU"
39,40c38,39
< *LanguageEncoding: ISOLatin1
< *LanguageVersion: English
---
> *LanguageEncoding: UTF-8
> *LanguageVersion: Russian

All work fine. изображение