[cups.general] Can the host field in a lpr control file be madetocontain client hostname for browsed printers?

Michael Sweet mike at easysw.com
Wed Sep 20 11:19:12 PDT 2006


wtautz wrote:
> Michael Sweet wrote:
>> wtautz wrote:
>>   
>>> ...
>>> Question: Is there a way to make the H field have the client hostname
>>> even for browsed printers?
>>>     
>> No, sorry.
>>
>>   
> Just out of curiosity could you tell me what part of the source code
> is responsible for generating the H field in lpr control files?

The lpd_queue() function does this; you *might* be able to update the
backend to get the job-originating-host-name attribute and use that
instead of the local hostname...

-- 
______________________________________________________________________
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