LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   Suse 10.0 CUPS printer sharing (https://www.linuxquestions.org/questions/suse-opensuse-60/suse-10-0-cups-printer-sharing-460038/)

lukeprog 07-01-2006 10:24 AM

Suse 10.0 CUPS printer sharing
 
I've got an HP DeskJet 1012 installed and working via CUPS on my SUSE 10.0 computer. I want to share that printer with a Xandros OC3 computer that is also on the network. How can I set up sharing between the two, preferably without Samba? I can't find the equivalent to Windows "file and print sharing" in SUSE.

Many thanks!

Bugrem 07-01-2006 12:17 PM

On the machine that the printer's attached to, have a look at Yast -> Hardware -> Printer
Your printer should be listed.
The help pane says to press Advanced, but it's been changed to Other. This will allow you to set up Cups broadcasting and permissions.

You should then be able to use Yast on your other machine to add a printer set to Print via CUPS Network Server. I'd suggest you use the option CUPS Using Broadcasting. It can be fiddly, but when it's working, it seems pretty reliable.

HTH

B.

lukeprog 07-01-2006 01:07 PM

Thanks, Bugrem. The other machine is Xandros, and asks for Printer, Host, and Queue Name. (These options change when I switch to Samba or direct-to-IP printing).

Bugrem 07-01-2006 03:31 PM

Oops - not paying attention (again).

No idea if (how?) Xandros configures printers, but you should be able to do it from CUPS (http://localhost:631 in your browser).
I would imagine you'd use http as a protocol and specify the server address.

B.

lukeprog 07-03-2006 06:15 PM

I set up the CUPS server on the SUSE machine (to which the printer is attached), with the following settings:

browse addresses:
@LOCAL

Permissions:
Allow from 127.0.0.1
Allow from 127.0.0.2
Allow from @LOCAL
Allow from [the other computer's specific IP address, just for good measure]

Once I started CUPS broadcasting, the printer immediately showed up in Xandro's printers window. But, whenever I try to print, it just sits in the Xandros queue forever and never makes it to the printer. Any ideas? Or does anyone who uses Xandros have any ideas? Everything seems to be configured properly on both computers. And, I can print to the printer from the SUSE machine.

lukeprog 07-11-2006 10:07 AM

...Anyone?

sparton 07-11-2006 12:38 PM

I've always shared my printers through samba. I run a server with about 10 printers/copiers connected to it all shared to windows users (about 13). Each user has the ability to connect directly to the printer when browsing to my server and it will automatically install the driver for them and do the dirty work.

I've never tryed sharing it directly through cups but its very easy to share in samba i would give it a try. Also frontends like swat and webmin make configuring samba easier so you dont have to do it all in kwrite or gedit.

lukeprog 07-11-2006 03:20 PM

Thanks.

I got it working by doing two more things: First, I added the SUSE machine to the hosts file on the Xandros machine. Also, I checked the box for "Open port in firewall" under the CUPS server settings in the Yast2 Printer settings dialog.


All times are GMT -5. The time now is 05:42 PM.