[cups.general] contimeout option of socket backend
Michael Sweet
msweet at apple.com
Mon May 17 09:05:32 PDT 2010
On May 17, 2010, at 7:46 AM, André Hänsel wrote:
> Hi list,
>
> I need to employ a timeout on my socket connections (because I need dynamic addresses re-resolved).
>
>> From looking at the source (http://svn.easysw.com/public/cups/trunk/backend/socket.c) I know that there is a "contimeout" option that defaults to 1 week.
>
> However, when I try to enter a device URI like socket://printer:9100?contimeout=30 I get a "Bad device-uri" error.
You need a slash between the port number and URI options, e.g.:
socket://printer:9100/?contimeout=30
________________________________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair
More information about the cups
mailing list