Results 1 to 2 of 2
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
...
- 05-17-2008 #1Linux Guru
- Join Date
- Sep 2004
- Posts
- 1,546
To share printer
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-commonWhat additional packages I have to add? ThanksCode: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
/etc/cups/cupsd.conf
Change "Browsing Off" to "Browsing On"?Code:# Show shared printers on the local network. Browsing Off BrowseOrder allow,deny BrowseAllow @LOCAL BrowseAddress @LOCAL
Change "Listen localhost:631" to "Listen 631"?Code:# Only listen for connections from the local machine. Listen localhost:631 Listen /var/run/cups/cups.sock
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
- 05-20-2008 #2
I share my printer through Samba.
#/etc/samba/smb.conf (only the printer share shown here)
Code:... [printers] comment = All Printers path = /var/spool/samba browseable = no # set to yes to allow user 'guest account' to print. guest ok = yes writable = no printable = yes ...
Linux since: 2001
Gentoo since: 2004
- - - - - - - -
Translation:
I fix things until they break.


Reply With Quote