driverless printing generates wrong language/encoding PPD
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The printing option dialog (see attached PNG file) is broken with Bionic Japanese environment.
This issue seems to be coming from the generated PPD file with wrong language/encoding.
I tried with Epson EP-879AW.
Steps to reproduce:
1) generate a print queue by driverless feature with ja-JP locale:
$ LANG-ja_JP.UTF-8 lpadmin -p driverlesstest-ja -E -v `driverless` -m everywhere
2) check the generated PPD (attached driverlesstest-
$ sudo less /etc/cups/
Expected: PPD have same language/encoding with content (if the content have Japanese, language/encoding should be Japanese/UTF-8)
Actual: PPD has Japanese strings, but language/encoding is English/ISOLatin1
----
Attached files:
EPSON_EP_
driverless-ja.ppd: PPD generated with ja_JP.UTF-8 locale
driverless-en.ppd: PPD generated with C locale
ipptool.txt: output of ipptool, by following command:
$ ipptool -tv `driverless` get-printer-
CUPS generate non-globalized PPD in this context, so I believe it should put LanguageVersion /LanguageEncodi ng as follows the locale of strings, not hard-code to English/ISOLatin1.