OpenPrinting / system-config-printer

Graphical user interface for CUPS administration
GNU General Public License v2.0
163 stars 89 forks source link

Allow to use whitespaces for Samba printers #113

Closed R3D9477 closed 6 years ago

R3D9477 commented 6 years ago

Hi. Is it possible to add support a whitespaces for name of samba printer? Now users must to write code of whitespaces (%20) instead of symbols (if they know about this trick) screenshot at 2018-08-10 10-17-00 Thanks.

zdohnal commented 6 years ago

Hi, I think you are talking about device uri, not name. And what can be in device uri is defined by what actual backend (in this case smb backend) and CUPS expects to be in device URI. And what backend expects in URI is usually defined in a document/standard. system-config-printer as GUI over (mostly) CUPS is copying syntax of CUPS and backends, so if you would like to allow whitespaces, so there is the place to ask. I guess s-c-p could do some 'underground' changes, which will substitute whitespaces for %20, but it can create confusions during debugging - like user is seeing different URI in s-c-p than CUPS/backends actually uses. With this reasoning, I'm closing the issue.