DeviceURI and password with '#' character
Michael Sweet
mike at easysw.com
Mon Aug 28 06:17:36 PDT 2006
Benjamin Delagoutte wrote:
> 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 ?
You have to escape the # with %23, however the smbspool program
doesn't support percent escapes... :( Please contact the Samba
folks and report the bug so that it gets fixed...
--
______________________________________________________________________
Michael Sweet, Easy Software Products mike at easysw dot com
Internet Printing and Document Software http://www.easysw.com
More information about the cups
mailing list