| Juanito  
 
  
 
 
 Group: Members
 Posts: 1601
 Joined: Sep. 2005
 | 
|  | Posted: Sep. 08 2007,14:55 |  |  Finally google came up with some modifications for /etc/cupsd.conf on the client and the server and - this was really impressive - without me doing anything, the printer on the dsl desktop was added to the available printers in cups admin on the dsl laptop. I'm sure this configuration is not the best from a security standpoint, but in case anybody finds it useful, then here it is. BTW the auto-added address was ipp://192.168.1.100:631/printers/OfficeJetG85.
 
 /etc/cupsd.conf on the dsl laptop (client):
 
 | Quote |  | LogLevel info RunAsUser Yes
 Port 631
 Listen localhost:631
 Listen /opt/hplip/var/run/cups/cups.sock
 
 ### Which print servers to use
 BrowseOrder deny,allow
 BrowseDeny from All
 BrowseAllow from @LOCAL
 BrowseAllow from 192.168.1.*
 
 <Location />
 AuthType None
 Order Deny,Allow
 Deny From All
 Allow From @LOCAL
 </Location>
 
 <Location /jobs>
 AuthType None
 Order Deny,Allow
 Deny From All
 Allow From @LOCAL
 </Location>
 
 <Location /printers>
 AuthType None
 Order Deny,Allow
 Deny From All
 Allow From @LOCAL
 </Location>
 
 <Location /admin>
 AuthType None
 Order Deny,Allow
 Deny From All
 Allow From @LOCAL
 </Location>
 | 
 
 /etc/cupsd.conf on the dsl desktop with printer attached:
 
 | Quote |  | LogLevel info Port 631
 Listen /opt/hplip/var/run/cups/cups.sock
 Listen 192.168.1.100:631
 Listen localhost:631
 Browsing On
 BrowseAddress @LOCAL
 BrowseAddress 192.168.1.255
 BrowseAddress 192.168.1.*
 
 <Location />
 AuthType None
 Order Deny,Allow
 Deny From All
 Allow From @LOCAL
 Allow From 192.168.1.*
 Allow From 127.0.0.1
 </Location>
 
 <Location /jobs>
 AuthType None
 Order Deny,Allow
 Deny From All
 Allow From @LOCAL
 Allow From 192.168.1.*
 Allow From 127.0.0.1
 </Location>
 
 <Location /printers>
 AuthType None
 Order Deny,Allow
 Deny From All
 Allow From @LOCAL
 Allow From 192.168.1.*
 Allow From 127.0.0.1
 </Location>
 
 <Location /admin>
 AuthType Basic
 AuthClass System
 Allow From 127.0.0.1
 Order Deny,Allow
 Deny From All
 </Location>
 | 
 |