DeviceURI and password with '#' character

Benjamin Delagoutte bde at teamlog.com
Mon Aug 28 05:09:04 PDT 2006


Hi,

I'm experiencing problems while printing on a windows shared printer. In my printers.conf file, I wrote this line :

DeviceURI smb://login:password@host/printer

By the way, the password contains a '#' (sharp) character, that make the rest of the line to be read as a comment (and this way ignored).

I tried with no success to escape the '#' with urlencoded value ('%23'), or with a backslash ('\'). I even tried to write the URI inside quotes or double-quotes.

What can I do, now ?

Thank you.

Benjamin




More information about the cups mailing list