driverless printing generates wrong language/encoding PPD

Bug #1769056 reported by Naruhiko Ogasawara on 2018-05-04
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
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-ja.ppd)

$ sudo less /etc/cups/ppd/driverlesstest-ja.ppd

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_879A_Series_007.png: screenshot of printing option dialog of EP-879AW driverless print queue
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-attributes.test > ipptool.txt

Naruhiko Ogasawara (naruoga) wrote :
Naruhiko Ogasawara (naruoga) wrote :
Naruhiko Ogasawara (naruoga) wrote :
Naruhiko Ogasawara (naruoga) wrote :
Naruhiko Ogasawara (naruoga) wrote :

CUPS generate non-globalized PPD in this context, so I believe it should put LanguageVersion/LanguageEncoding as follows the locale of strings, not hard-code to English/ISOLatin1.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in cups (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers