SUMMARY Silent failure to add Samba/Windows printer if password contains spaces. If %20 is used in place of space in the password, adding works. Possibly extends to all special characters, but haven't tested that extensively. STEPS TO REPRODUCE 1. Add printer, selecting Samba/Windows URI 2. Fill in uri, user and password 3. Select printer driver OBSERVED RESULT Printer is not added if password contains a space. EXPECTED RESULT Printer should be added and password encoded/encrypted properly even if password contains space or other special characters. SOFTWARE/OS VERSIONS Linux/KDE Plasma: Kubuntu 18.04.2 System Settings Version 5.12.7 KDE Plasma Version: 5.12.7 KDE Frameworks Version: 5.44.0 Qt Version: 5.9.5
Printer add silently fails when space is also in the printer URI, for example: Fails: smb://hostname/Xerox 7228 Works: smb://hostname/Xerox%207228
The %20 workaround in the path didn't work for me. Using the CUPS Web-Interface, however, did work with the %20 workaround.