I know there are those of you who think CUPS configuration is a piece of cupcake. But I also know plenty of you who, as do I, think that it's a piece of something a little less pleasant. Well, after a lot of hair-pulling, here's my patch for the server's cupsd.conf which will allow completely untouched client installations to use the server's default printer; which, for many of us, is the goal going in. We don't want to have to configure every goddamned client, that's why we went with CUPS in the first place.
--- ./cupsd.conf.orig 2004-09-15 23:12:05.000000000 +0000 +++ ./cupsd.conf 2004-09-15 23:10:39.000000000 +0000 @@ -1,5 +1,5 @@ # -# "$Id: cupsd.conf.in,v 1.13 2003/04/10 20:14:04 mike Exp $" +# "$Id: cupsd.conf,v 1.3 2004/09/15 23:10:34 root Exp $" # # Sample configuration file for the Common UNIX Printing System (CUPS) # scheduler. @@ -513,7 +513,7 @@ #BrowseAddress x.y.255.255 #BrowseAddress x.255.255.255 #BrowseAddress 255.255.255.255 -#BrowseAddress @LOCAL +BrowseAddress @LOCAL #BrowseAddress @IF(name) # @@ -748,6 +748,7 @@ Order Deny,Allow Deny From All Allow From 127.0.0.1 +Allow from 192.168.1.0/255.255.255.0 </Location> #<Location /classes> @@ -821,5 +822,5 @@ </Location> # -# End of "$Id: cupsd.conf.in,v 1.13 2003/04/10 20:14:04 mike Exp $". +# End of "$Id: cupsd.conf,v 1.3 2004/09/15 23:10:34 root Exp $". #
Of course, your network address may well be different from mine. All in all, it's 2 trivial changes to the default: uncomment the @LOCAL browse address, and add permissions for hosts on your network. Now, wasn't that easy? So, where does the fucking manual tell you to do this? Beats the hell out of me.
last updated 2013-01-10 20:30:53. served from tektonic.jcomeau.com