Printer sharing

Stephen Liu satimis at yahoo.com
Sun May 18 06:48:04 PDT 2008


Hi folks,


ubuntu 7.04 server amd64
IP 192.168.0.10


I'm prepared to allow other PCs on the network sharing the printer connected to the server.  I'll perform following steps;


$ apt-cache policy cupsys cupsys-client cupsys-common
cupsys:
  Installed: 1.2.8-0ubuntu8.4
  Candidate: 1.2.8-0ubuntu8.4
  Version table:
 *** 1.2.8-0ubuntu8.4 0
        500 http://us.archive.ubuntu.com feisty-updates/main Packages
        500 http://security.ubuntu.com feisty-security/main Packages
        100 /var/lib/dpkg/status
     1.2.8-0ubuntu8 0
        500 http://us.archive.ubuntu.com feisty/main Packages
cupsys-client:
  Installed: 1.2.8-0ubuntu8.4
  Candidate: 1.2.8-0ubuntu8.4
  Version table:
 *** 1.2.8-0ubuntu8.4 0
        500 http://us.archive.ubuntu.com feisty-updates/main Packages
        500 http://security.ubuntu.com feisty-security/main Packages
        100 /var/lib/dpkg/status
     1.2.8-0ubuntu8 0
        500 http://us.archive.ubuntu.com feisty/main Packages
cupsys-common:
  Installed: 1.2.8-0ubuntu8.4
  Candidate: 1.2.8-0ubuntu8.4
  Version table:
 *** 1.2.8-0ubuntu8.4 0
        500 http://us.archive.ubuntu.com feisty-updates/main Packages
        500 http://security.ubuntu.com feisty-security/main Packages
        100 /var/lib/dpkg/status
     1.2.8-0ubuntu8 0
        500 http://us.archive.ubuntu.com feisty/main Packages
* end *

What additional packages I have to add?  Thanks



/etc/cups/cupsd.conf;
* quote *
# Show shared printers on the local network.
Browsing Off
BrowseOrder allow,deny
BrowseAllow @LOCAL
BrowseAddress @LOCAL
* unquote *

I'll change "Browsing Off" to "Browsing On"?



* quote *
# Only listen for connections from the local machine.
Listen localhost:631
Listen /var/run/cups/cups.sock
* unquoted *

Shall I change "Listen localhost:631" to "Listen 631"?



* quote *
# Restrict access to the server...
<Location />
  Order allow,deny
  Allow localhost
  Allow @LOCAL
</Location>
* unquoted *

I'll add follows:
Deny all
Allow 127.0.0.1


Then run;
sudo /etc/init.d/cupsys restart


Please advise whether I need additional steps.  TIA


B.R.
satimis




More information about the cups mailing list