Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have a printer connected to one PC running slackware. The printer is set up to be shared through Samba and I can print to it from my Windows laptop.
I would however like to use that printer from another Linux machine (running Ubuntu).
Do I need to go through Samba to do this or is there a better way with it being linux-linux?
Everything I've found on google relates to going from Linux to Windows unfortunately.
Do I need to go through Samba to do this or is there a better way with it being linux-linux?
There is a better way. On the second machine ( client ) install cups. In cups add the printer. On my network, linux boxes find the cups share, I don't have to do anything. Could not be easier.
I believe you need the print driver on the client though.
No, as long as the printer prints locally, you are good to go. Like any network program, I would suggest you have an updated /etc/hosts file. But beyond that, nothing. Just in case you are not familiar with /etc/hosts file, here is a sample.
You list each systems IP address, followed by the hostname, and alias host name. If you are using samba, it will work much better with this up to date as well.
You'd usually set up a printer (any printer) using CUPS on the Linux side. And, since CUPS is network-aware, you probably don't need to do anything more to share two printers Linux::Linux:
But don't hesitate to fall back on CUPS::Samba if you need to. And feel free to go back and try CUPS-only once you get CUPS::Samba working.
Because (as you've already noticed), it's the more common scenario. Consequently, you're likelier to get help with the CUPS::Samba scenario than with CUPS::CUPS.
PS:
Do they still have 4,000 holes in Blackburn, Lancashire ?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.