Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'From other computers?' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
From other computers?
Authored by: CJLinst on Aug 27, '02 02:54:56AM

You can configure CUPS to listen for admin requests on multiple addresses and ports, however. The configuration file is /etc/cups/cupsd.conf

The pertinent areas of the config file are ServerName, at line 52, Listen at line 362, and the <Location /> section at line 691 (Whew, big .conf)

ServerName should not be changed.

I added the following after the Listen

(I'm behind a NAT firewall)

Then changed the <Location /> section to look like this:

<Location />
Order Deny,Allow
Deny From All
Allow From
Allow From

Followed by:

ps -ax | grep cupsd
kill -HUP {appropriate process id}

The StartupItems script is broken so restart simply kills the process instead of restarting it. One could alternately:

sudo /System/Library/StartupItems/PrintingServices/PrintingServices stop
sudo /System/Library/StartupItems/PrintingServices/PrintingServices start

No idea if this could be done with a GUI wrapper, but somehow I doubt it.

The default settings are very strict, as they should be. You must therefore explicitly allow remote administration requests but it can be done.

[ Reply to This | # ]