Provide easy way to enable/disable printer sharing
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cupsys (Ubuntu) |
Fix Released
|
Wishlist
|
Martin Pitt | ||
kdeadmin (Ubuntu) |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
I understand that "no open ports in the default installation" is Ubuntu policy,
and I find it sensible.
In Gnome, there is a setting to allow LAN printers to be detected.
In KDE, there is none, as far as I know. So in Kubuntu, I was unable to share
my CUPS printer, linked by USB to my Kubuntu PC, with another printer on my home
LAN running MEPIS Linux. Although I did achieve printer sharing by editing
/etc/cups/
So, I request that Kubuntu provide a clean way to share CUPS printers on a LAN
just like Ubuntu.
FYI, I did the following to enable CUPS printer sharing:
*******
The file /etc/cups/
disallows access from other PCs on the LAN.
To turn browsing on, either (sudo) edit /etc/cups/
"Off" to "On" or go to /usr/share/cups and type
./enable_browsing 1
Then, (sudo) edit /etc/cups/
# Listen 127.0.0.1:631
and uncomment, as appropriate, to have these entries:
Port 631
Browsing On
BrowseAddress @LOCAL
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
Allow From @LOCAL
</Location>
Finally,
sudo /etc/init.d/cupsys restart
and your CUPS printer should be visible from other PCs on the LAN.
*******
Thanks.
Changed in gnome-cups-manager: | |
status: | Unconfirmed → Confirmed |
affects: | kdeutils (Ubuntu) → kdeadmin (Ubuntu) |
(In reply to comment #0)
> To turn browsing on, either (sudo) edit /etc/cups/ cupsd-browsing. conf and change
> "Off" to "On" or go to /usr/share/cups and type
>
> ./enable_browsing 1
enable_browsing is an Ubuntu script that was specifically meant to be called
from GUIs. Jonathan, that's what you should call (as root, of course).
> Then, (sudo) edit /etc/cups/ cupsd.conf to comment out the following line so:
>
> # Listen 127.0.0.1:631
>
> and uncomment, as appropriate, to have these entries:
>
> Port 631
> Browsing On
> BrowseAddress @LOCAL
> <Location />
> Order Deny,Allow
> Deny From All
> Allow From 127.0.0.1
> Allow From @LOCAL
> </Location>
That part wasn't necessary in Hoary; it was probably introduced while merging a
new Debian version into Breezy, I'll fix that.