LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-19-2006, 12:18 PM   #1
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Rep: Reputation: 53
Printer sharing in Slackware


Hi Everybody,

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?

As always. thank you for your help.

Bob
 
Old 03-20-2006, 06:11 AM   #2
odevans
Member
 
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246

Rep: Reputation: 30
Hi Bob (again!),

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...").

Samba is included with Slack on CD#1, series n.
 
Old 03-21-2006, 01:25 AM   #3
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
Hi,

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.

Any thopughts?

Thanks again,

Bob
 
Old 03-21-2006, 06:19 AM   #4
kevmccor
Member
 
Registered: Aug 2004
Location: Texas
Distribution: slackware
Posts: 158

Rep: Reputation: 44
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:

#application/octet-stream application/vnd.cups-raw 0

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.
 
Old 03-22-2006, 02:21 AM   #5
BobNutfield
Senior Member
 
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,526

Original Poster
Rep: Reputation: 53
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.

Thanks again,

Bob
 
Old 03-22-2006, 11:18 AM   #6
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,012

Rep: Reputation: 115Reputation: 115
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.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Printer Sharing How to claudius753 Linux - Newbie 1 09-06-2005 02:25 PM
Printer-sharing with FreeBSD; cannot se icon for the printer hemmelig *BSD 7 05-13-2005 03:44 PM
Printer sharing Rowie Linux - Networking 9 04-08-2005 04:07 AM
how to get primary logon network, Access control,File sharing & printer sharing info dileepkk Linux - Networking 2 07-06-2004 06:54 AM
setup printer on client machine(slackware 8) to server (slackware7) network printer changwoo Slackware 9 05-02-2003 05:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration