Sharing printer

Discussion in 'Server Operation' started by satimis, May 17, 2008.

  1. satimis

    satimis New Member

    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.


    $ apt-cache policy cupsys cupsys-client cupsys-common
    Code:
    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
    
    What additional packages I have to add? Thanks


    /etc/cups/cupsd.conf
    Code:
    # Show shared printers on the local network.
    Browsing Off
    BrowseOrder allow,deny
    BrowseAllow @LOCAL
    BrowseAddress @LOCAL
    
    Change "Browsing Off" to "Browsing On"?


    Code:
    # Only listen for connections from the local machine.
    Listen localhost:631
    Listen /var/run/cups/cups.sock
    Change "Listen localhost:631" to "Listen 631"?


    Code:
    # Restrict access to the server...
    <Location />
      Order allow,deny
      Allow localhost
      Allow @LOCAL
    </Location>
    

    Add follows:
    Code:
    Deny all
    Allow 127.0.0.1
    

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


    Please advise. TIA


    B.R.
    satimis
     

Share This Page