SlackwareThis Forum is for the discussion of Slackware Linux.
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 am having difficulty in sharing my printer in my home network.
I have an HP Deskjet attach to my Slackware box and use it as the local printer just fine, but I want to share it with another Linux box and my windows laptop. I am connecting via DCHP so I get a new IP address each time I boot.
My question is two parts:
1. I have not been able to share this printer with either of the other two computers (Linux or Windows) in Slackware because I cannot find the file to configure it as a network share printer. How do I enable printer sharing in Slackware?
2. I am able to share the printer in Fedora just fine, but I have to change the location of the printer (IP address) on the other Linux box each time I reboot, which I do not have to do from the Windows laptop (seems to just "find" it). Is there a way (short of assigning static IP addresses) to enable the other Linux box to "find" the printer on the network without having to alter the IP address each reboot?
If you're wanting to share a printer with both Linux and Win32 systems, have a google around (and also search this forum) for "Samba" -- the *nix version of "Windows File and Print Sharing". There's a cornucopia of how-tos and tutorials out there, and it sounds like what you're looking for (particularly when you say "...which I do not have to do from the Windows laptop...").
Thanks again for your response. I guess my question was too limited. I have samba installed and NFS is work fine on the the little network I have at home. The results of testparm -v are this:
[Printer]
path = /dev/usb/lp0
guest ok = Yes
case sensitive = No
msdfs proxy = no
These same conf settings work fine in FC4 and I can access the printer from either the laptop or the other linux box, which is Ubuntu btw. I do have to change the ipp: address to the printer each time I reboot, but other than that it works fine. When I try this in Slack (even with these conf settings), I get no error messages and everything appears to proceed and the printer does not respond. Nothing wrong with the printer because it prints locally fine.
You also probably need to have CUPS set up on the print server machine. There is a CUPS configure file that you need to modify to enable printing from Windows. Look at /etc/cups/mime.convs and this line:
I think that is the one that needs to be uncommented. You will probably need to install the Windows driver for your printer on the Windows machine and set Samba to use CUPS printing and "raw" from Windows. This may be a bit outdated, but the smbd.conf (samba) example should describe what you need.
Thanks for the replies. Never did get it to work, so I guess I will cash this one in and just use Fedora when I want to print from the other machines. No amount of tweaking in samba or NFS helped. Not a firewall problem, checked that. Oh well, first failure in Slack...try again another day when I get a little more experience under my belt.
Printer sharing is supposed to work semi-automatically using IPP. I think that all it took was to tell the cups on the client box to poll the server. ESR wrote up a bad design rant having to do with this.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.