Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

driverless garbled #572

Open
szlt5 opened this issue Feb 5, 2024 · 1 comment
Open

driverless garbled #572

szlt5 opened this issue Feb 5, 2024 · 1 comment

Comments

@szlt5
Copy link

szlt5 commented Feb 5, 2024

Describe the bug
Driverless garbled

To Reproduce
Steps to reproduce the behavior:

  1. Generate driverless for Canon GX5080 by command
    lpadmin -p canon_5080 -v "ipp://172.16.101.95/ipp/print" -E -m driverless:ipp://172.16.101.95/ipp/print

canon_5080.ppd.txt

  1. Open any app to print, such as firefox. The UI displays garbled characters.

Expected behavior
UI should display the correct glossary.

Screenshots
chaoes_ui

System Information:

  • OS: Ubuntu23.10
  • Version: cups2.4.6

Additional context
The translation of Japanese in the driverless PPD is as follow:

*OpenUI *MediaType/Media Type: PickOne
*OrderDependency: 10 AnySetup *MediaType
*DefaultMediaType: Stationery
*MediaType Com.canon.mtluster/写真用紙 微粒面光沢 ラスター: "<</MediaType(Com.canon.mtluster)>>setpagedevice"
*MediaType Com.canon.mtgr/写真用紙 光沢ゴールド: "<</MediaType(Com.canon.mtgr)>>setpagedevice"
*MediaType Com.canon.mtmat/マットフォトペーパー: "<</MediaType(Com.canon.mtmat)>>setpagedevice"
*MediaType Com.canon.mtglossy/写真用紙 光沢 スタンダード: "<</MediaType(Com.canon.mtglossy)>>setpagedevice"
*MediaType Com.canon.mthires/高品位専用紙: "<</MediaType(Com.canon.mthires)>>setpagedevice"
*MediaType Com.canon.mthagakiglossy/インクジェット写真用はがき(通信面): "<</MediaType(Com.canon.mthagakiglossy)>>setpagedevice"
*MediaType Com.canon.mtsemisuper/写真用紙 絹目調: "<</MediaType(Com.canon.mtsemisuper)>>setpagedevice"
*MediaType Com.canon.mtgreeting/インクジェットグリーティングカード: "<</MediaType(Com.canon.mtgreeting)>>setpagedevice"
*MediaType Com.canon.mtcardstock/スクラップブッキング用紙: "<</MediaType(Com.canon.mtcardstock)>>setpagedevice"
*MediaType Com.canon.0780/アイロンプリントシート(白生地用): "<</MediaType(Com.canon.0780)>>setpagedevice"
*MediaType Com.canon.0791/和紙: "<</MediaType(Com.canon.0791)>>setpagedevice"
*MediaType Com.canon.0836/厚紙: "<</MediaType(Com.canon.0836)>>setpagedevice"
*MediaType Com.canon.mtinkjet/インクジェットはがき(通信面): "<</MediaType(Com.canon.mtinkjet)>>setpagedevice"
*MediaType Com.canon.mtinkjeta/インクジェットはがき(あて名面): "<</MediaType(Com.canon.mtinkjeta)>>setpagedevice"
*MediaType Com.canon.mthagakiglossya/インクジェット写真用はがき(あて名面): "<</MediaType(Com.canon.mthagakiglossya)>>setpagedevice"
*MediaType Com.canon.mthagaki/はがき: "<</MediaType(Com.canon.mthagaki)>>setpagedevice"
*MediaType Com.canon.mthagakia/はがき(あて名面): "<</MediaType(Com.canon.mthagakia)>>setpagedevice"
*MediaType Envelope/Envelope: "<</MediaType(Envelope)>>setpagedevice"
*MediaType Labels/Labels: "<</MediaType(Labels)>>setpagedevice"
*MediaType Stationery/Stationery: "<</MediaType(Stationery)>>setpagedevice"
*MediaType Photographic/Photo Paper: "<</MediaType(Photographic)>>setpagedevice"
*MediaType Auto/Automatic: "<</MediaType(Auto)>>setpagedevice"
*CloseUI: *MediaType

The translation of JP in the driverless PPD should be as:

*ja.Translation MediaType/用紙種類 : ""
*ja.MediaType Com.canon.mtluster/写真用紙 微粒面光沢 ラスター: ""
*ja.MediaType Com.canon.mtgr/写真用紙 光沢ゴールド: ""
...
@ValdikSS
Copy link

#566

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants