Unable to share printer

9 réponses [Dernière contribution]
oysterboy

I am a member!

I am a translator!

Hors ligne
A rejoint: 02/01/2011

Hello,

An HP printer is attached to my desktop running Trisquel Taranis. I am able to print from the desktop, no problem. I also have a laptop running openSUSE and I want to be able to launch a print job from that laptop. For some reason, the laptop doesn't seem to see that the printer is shared, although I have shared it through CUPS.

From the CUPS interface on the server (desktop):
HP-Photosmart-C4600-series (Idle, Accepting Jobs, Shared, Server Default)
Connection: hp:/usb/Photosmart_C4600_series?serial=CN044HF1X305G0

From the CUPS interface on the client (laptop):
HP-Photosmart-C4600-series (Idle, Accepting Jobs, Not Shared, Server Default)
Connection: ipp:/vegas/printers/Photosmart-C4600-series

Any help would be appreciated!
Thanks,
Ben

oysterboy

I am a member!

I am a translator!

Hors ligne
A rejoint: 02/01/2011

Sharing works with Linux Mint 10, which is based on Ubuntu 10.10. It also works fine with openSUSE 11.3. Maybe something was broken in Ubuntu 10.04 (on which Trisquel 4.0 is based) and has been fixed since. Will try again when Trisquel 4.5 is out (very soon I guess?). As for now, I give up :).

BinaryDigit
Hors ligne
A rejoint: 11/30/2010

As far as I know, sharing services are not installed by default on Trisquel, and most other distros. They only start when you request sharing.

Try sharing a folder from the Trisquel desktop; for example, create a folder, then right-click select Properties > Share tab, and check Share this folder. Then see if the client can see the printer as shared. You might need to re-start both desktop and client, or delete and re-install the printer. I'm not an expert on CUPS so not sure about that side of the problem.

oysterboy

I am a member!

I am a translator!

Hors ligne
A rejoint: 02/01/2011

In Mint and I presume Ubuntu, I discovered that it's actually very straightforward : install printer; share it ('Publish shared printers connected to this system' in System -> Administration -> Printing / Server -> Settings ; make sure Enabled and Shared are checked in the printer's Properties), et voilà!

I was used to openSUSE's more complicated way of setting up CUPS, so I may have messed up the CUPS configuration of my Trisquel install when trying to edit its config files directly, as I was used to doing with openSUSE (maybe it's simpler in the newer versions though...).

I think I'll reinstall Trisquel 4.0 and try again the straightforward path that worked with Mint. I hope that will work. I have a keen desire of fully switching to Trisquel because I believe in its Free Software ideals :). If not, guess I'll wait for 4.5 to come up.

ivaylo
Hors ligne
A rejoint: 07/26/2010

rochefort.benjamin@[nospam] wrote:

> I think I'll reinstall Trisquel 4.0 and try again the straightforward path
> that worked with Mint. I hope that will work. I have a keen desire of fully
> switching to Trisquel because I believe in its Free Software ideals :). If
> not, guess I'll wait for 4.5 to come up.

You don't have to reinstall Trisquel to test another configuration. You
could either:

* completely remove the cups package and install it again - sudo
aptitude purge cups; sudo aptitude install cups. Unfortunately this will
break other package and is not recommended, or
* remove the config file and reinstall the package with sudo
dpkg-reinstall cups, or
* remove the contents of the config file or the file itself, and
configure from the GUI.

Another way to configure printers is to open in a web browser
http://localhost:631. It has similar features as the GNOME application.

oysterboy

I am a member!

I am a translator!

Hors ligne
A rejoint: 02/01/2011

Hi,

Yes, reinstalling was probably overkill, but I just wanted to make sure that I was working on a 100% clean install. The result? The client still cannot see the printer :(. I also upgraded to Slaine, and there was no improvement. The simple printer sharing procedure (see below) that works for other distros is for some reason not enough for Trisquel. It looks to me like Trisquel needs something more in order to effectively publish the printer... What could that be?... I don't think the problem lies on the client side, since I am able to see printers published by other distros.

Simple sharing procedure:
Administration -> System -> Printing -> Server -> Configuration
On print server: Publish shared printers
On print client: Show printers shared by other systems

quiliro@congresolibre.org
Hors ligne
A rejoint: 10/28/2010

> Simple sharing procedure:
> Administration -> System -> Printing -> Server -> Configuration
> On print server: Publish shared printers
> On print client: Show printers shared by other systems
>
You made a share of all the printers on the print server. Remember to
check that the specific printer is also shrared.

I don´t think it is there where you have to look because this is the
predefined behaviour. I suspect it is a firewall or conectivity issue.
Please check these.

--
Saludos.

Quiliro Ordóñez
(02)2595632
(02)3401517
09-6782520
Si me equivoco, al menos se que soy quién se equivocó y no que me dieron
equivocándome.
Quito, Ecuador

oysterboy

I am a member!

I am a translator!

Hors ligne
A rejoint: 02/01/2011

OK, everything works fine now :). Looks like I made a typo on the client side when typing the printer's name... Stupid mistake... Will be more careful in the future... Thanks everyone for your help.

quiliro@congresolibre.org
Hors ligne
A rejoint: 10/28/2010

El 12/03/11 15:47, name at domain escribió:
> Hello,
>
> An HP printer is attached to my desktop running Trisquel Taranis. I am
> able to print from the desktop, no problem. I also have a laptop
> running openSUSE and I want to be able to launch a print job from that
> laptop. For some reason, the laptop doesn't seem to see that the
> printer is shared, although I have shared it through CUPS.

Check this:

Adminitration -> System -> Printing -> Server -> Configuration
On print server: Publish shared printers (and verify your particular
printer is shared)
On print client: Show printers shared by other systems

oysterboy

I am a member!

I am a translator!

Hors ligne
A rejoint: 02/01/2011

Thanks, but this is exactly what's not working. But see my message above, I may have borked my install by trying too hard :). Will try again on a brand new install...

Thanks again to all who responded. Will let you know if the situation improves or not.