Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to add a Windows printer via SAMBA from the New Printer dialog in Kubuntu 12.04. The smb:// field doesn't allow me to put special character or blank spaces, except for the underscore (see screenshot). In particular, the url I am trying to add (it was given to me by IT people in my university) contains a "%20", which, I assume, should be interpreted as a space.

Is this normal? Can smb urls contain special characters? Why doesn't this dialog allow me to do that?

enter image description here

share|improve this question
I don't have direct answer for the question. But you can try using IP address directly. – John Siu Jan 22 '13 at 21:04
@JohnSiu: well, I have an IP address for the server, but not for the name of the printer and 'Browse' doesn't help, somehow it gets stuck. – Alessandro Cosentino Jan 22 '13 at 22:02
(1) Use your file manager, go to network location using the server IP address, may be you can get an alternative printer name (without space and special characters). (2) Does the printer name (provided to you) portion contain space too? – John Siu Jan 22 '13 at 22:09
@JohnSiu: I tried that too. For some reasons, I get a timeout on the server when I try to browse. – Alessandro Cosentino Jan 22 '13 at 22:12
Do you know if it is a windows server or a samba server? If samba, that means linux, we maybe able to cheat a little and use ipp instead. – John Siu Jan 22 '13 at 22:27

It is a known bug and the workaround is explained here:

share|improve this answer
ooo, I thought it is not accepting the % char, lol. Nice you found it :) KDE has been around for years. I am surprise they have a bug like that lasting that long. – John Siu Jan 22 '13 at 23:28
@JohnSiu: indeed, it's not accepting the % char in that mask, but it is if you add a printer from the Other dialog, not the Samba one. – Alessandro Cosentino Jan 23 '13 at 4:18

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.