[cups.general] job-originating-host-name: how to get IP addressonly

Michael Sweet msweet at apple.com
Thu Sep 29 20:43:07 PDT 2011


On Sep 29, 2011, at 5:53 PM, Greg Saunders wrote:
> I added
> 
> HostNameLookups off
> 
> to the cupsd.conf file, restarted cups and no dice. I'm still getting the hostname showing up in the job-originating-host-name" parameter in the cups options instead of the IP address.
> 
> Ubuntu 10.04
> cups 1.4.3
> clients: Win XP and Win 7
> protocol: LPR to the cups LPD


OK, in this case cups-lpd is setting job-originating-host-name when it submits the jobs. In this case you need to add "-n" to the command-line args for cups-lpd (probably in the xinetd config file...)

__________________________________________________
Michael Sweet, Senior Printing System Engineer, PWG Chair





More information about the cups mailing list