OpenPrinting / cups

OpenPrinting CUPS Sources
https://openprinting.github.io/cups
Apache License 2.0
1.1k stars 195 forks source link

Weird symbols when trying to add printer #1060

Closed r3n3647 closed 2 months ago

r3n3647 commented 2 months ago

Describe the bug If you try to add a printer in CUPS web interface using the administration tab -> add printer you will get only some weird symbols (empty squares, white question-marks in black rhombus, underlines...) in step 2/5 in 'connection' field instead of some existing printer or some useful URI.

To Reproduce Steps to reproduce the behavior:

  1. Go to CUPS web interface -> administration tab -> add printer -> step 2/5
  2. it does make no difference if there is a printer connected to server or not
  3. see garbage in 'connection'

Expected behavior If there is a printer connected to the server the field 'connection' should show its URI - not some weird mojibake.

System Information:

Additional context Any additional information which are relevant to the issue.

zdohnal commented 2 months ago

Fixed by https://github.com/OpenPrinting/cups/commit/eb34f2698 and https://github.com/OpenPrinting/cups/commit/21a392d87 .