Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Main Support Categories > General Help
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

General Help
All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu.

 
Thread Tools Display Modes
Old November 3rd, 2009   #1
stupid head
First Cup of Ubuntu
 
Join Date: Feb 2007
Beans: 10
printer sharing worked in 9.04 but not 9.10

Printer sharing worked fantastically on 9.04 Jaunty but won't work on 9.10 Karmic. First of all, enabling printer sharing won't make it broadcast the printer service via zeroconf (Bonjour). I can get around that by manually creating an Avahi service with a config in /etc/avahi/services/. However, the real problem pops up when I try to add the shared printer to the other computers in my network. On Windows when I try to add the shared printer, it says "You do not have sufficient access to your computer to connect to the selected printer." On a Mac, it will let me install the printer, but it will not let me submit jobs to the shared printer. Ubuntu 9.10 can't even discover the shared printer.

For now, I will stick to 9.04. I hate seeing what seems to be a regression in 9.10.
stupid head is offline   Reply With Quote
Old November 3rd, 2009   #2
sb000b
First Cup of Ubuntu
 
Join Date: Nov 2009
Beans: 2
Ubuntu 9.10 Karmic Koala
Re: printer sharing worked in 9.04 but not 9.10

Hi,

I have the same kind of issues.
It used to work in 9.04 server but in 9.10 server, other computers can't discover the printer (OsX Snow Leopard & Ubuntu 9.10 client).
Does anyone has an idea on how to address tis issue ?

Thanks in advance
sb000b is offline   Reply With Quote
Old November 3rd, 2009   #3
jpfink
First Cup of Ubuntu
 
Join Date: May 2008
Beans: 3
Re: printer sharing worked in 9.04 but not 9.10

Same here. Has this been listed as a bug yet? I wonder if the problem is in the sharing of it by the server or the discovery of the client.
jpfink is offline   Reply With Quote
Old November 4th, 2009   #4
sb000b
First Cup of Ubuntu
 
Join Date: Nov 2009
Beans: 2
Ubuntu 9.10 Karmic Koala
Re: printer sharing worked in 9.04 but not 9.10

And what about removing cups and building it from source ?
sb000b is offline   Reply With Quote
Old November 5th, 2009   #5
SteveDee
Ubuntu Extra Shot
 
Join Date: Nov 2008
Location: Sussex, England
Beans: 380
Ubuntu 10.04 Lucid Lynx
Smile Re: printer sharing worked in 9.04 but not 9.10

Only discovered yesterday that printing over the network via my upgraded (9.10) computer no longer works from a 9.04 or a Windows machine.

But after a lot of experimentation I've discovered a horrible hack!

Go to System > Administration > Samba and double click your printers directory (see attached).
Now select the "Access" tab and enable "Allow Access to Everyone".
Now click OK and wait a short time, then close the Samba dialog window.

* The good news: you can now print from remote computers!

* The bad news: when you reboot your 9.10 pc you won't be able to print.

So next time you have to set "Access" to "Only Allow Access to Specific Users", select a user, click OK, wait a short time, then set it back to "Allow Access to Everyone". ...then you can print.

Hopefully, by the time the novelty of this little ritual has wore off there will be a fix for it!


Additional: Even simpler (but not nearly so entertaining) is to stop then restart Samba. You can do this via terminal or even make yourself a dinky script.

Commands are:-
sudo /etc/init.d/samba stop
sudo /etc/init.d/samba start
...and you can check the status:-
sudo /etc/init.d/samba status
Attached Images
File Type: png SambaGui.png (35.2 KB, 88 views)

Last edited by SteveDee; November 5th, 2009 at 09:12 AM.. Reason: Added: "Additional" method.
SteveDee is offline   Reply With Quote
Old November 10th, 2009   #6
Nausser
5 Cups of Ubuntu
 
Nausser's Avatar
 
Join Date: Sep 2008
Location: Florida
Beans: 33
Ubuntu 10.04 Lucid Lynx
Send a message via AIM to Nausser Send a message via Skype™ to Nausser
Re: printer sharing worked in 9.04 but not 9.10

Same issue here. Upgraded from 9.04 to 9.10 and now none of my printing works. I had local network printing and IPP working perfectly. I even tried installing the printer and then sharing it on another computer with a fresh 9.10 install. No prevail.

This is sort of a big one guys... how can these problems slip through every time? So many things were fixed with 9.10 and then this is allowed to happen.

I sure hope this is figured out soon!
Nausser is offline   Reply With Quote
Old November 10th, 2009   #7
thawn
5 Cups of Ubuntu
 
Join Date: Aug 2006
Beans: 37
Re: printer sharing worked in 9.04 but not 9.10

Same problem here. Has anyone posted a bug for this?

Could this be some kind of firewall issue?

afaik, I don't have a firewall installed...
thawn is offline   Reply With Quote
Old November 10th, 2009   #8
Gazneth
A Carafe of Ubuntu
 
Gazneth's Avatar
 
Join Date: Mar 2007
Location: Florida
Beans: 91
Ubuntu 9.10 Karmic Koala
Smile Re: printer sharing worked in 9.04 but not 9.10

I worked around this problem by adding a line to /etc/rc.local
Code:
sudo gedit /etc/rc.local
then insert this line before exit0
Code:
/etc/init.d/samba restart
This restarts Samba and starts the nmbd process, that is causing the problem by initializing too early in the boot process. After doing this test by rebooting or a
Code:
sudo /etc/init.d/samba restart
then check nmbd with
Code:
sudo /etc/init.d/samba status
Gazneth is offline   Reply With Quote
Old November 10th, 2009   #9
GaryHT627
First Cup of Ubuntu
 
Join Date: Nov 2009
Location: Maine
Beans: 1
Ubuntu 9.10 Karmic Koala
Re: printer sharing worked in 9.04 but not 9.10

Thank you!! The code worked great and I can print again.
GaryHT627 is offline   Reply With Quote
Old November 11th, 2009   #10
lbodrozic
First Cup of Ubuntu
 
Join Date: Nov 2007
Beans: 5
Re: printer sharing worked in 9.04 but not 9.10

Printer sharing via SAMBA with the provided init edit seems to work.

But does anybody actually know what's wrong with sharing CUPS/IPP/Bonjour?

I didn't even have SAMBA installed prior to this issue, and I'd rather not have it installed if I can help it.

Pretty bittersweet as it is.
lbodrozic is offline   Reply With Quote

Bookmarks

Tags
avahi, bonjour, printer, sharing, zeroconf

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:41 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry