LinuxQuestions.org
Visit Jeremy's Blog.
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 04-28-2006, 04:21 PM   #16
d00bid00b
Member
 
Registered: Aug 2005
Location: London, UK
Distribution: Debian Testing
Posts: 157

Original Poster
Rep: Reputation: 31

You are a good man Bob - thanks. All the best
 
Old 04-29-2006, 12:30 AM   #17
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
OK, here it goes...

First let's start fresh. On both the client and the server, remove cups by using 'pkgtool' and select remove packages. Then download the latest cups package from slackware-current here. Install the new package with 'installpkg /<location>/cups-1.1.23-i486-2.tgz'. Then cd to '/etc/cups/'. cp the new .conf files over the old ones (cupsd.conf.new, client.conf.new, printers.conf.new)

CONFIGURE SERVER
---------------
a) edit the following portion of /etc/cups/cupsd.conf
</location>
Order Deny,Allow
Deny From All
Allow From @LOCAL #allows printing from any computer on the lan
</Location>

b) restart cups with 'sh /etc/rc.d/rc.cups restart'

c) configure printing on the server by opening http://localhost:631 in a web browser. Use a simple printer name with no special chars or spaces. make sure the device you pick is the correct usb port your printer is attached to. Select the correct make and model of your printer. Make sure your configuration is correct by printing a test page. If you can print a test page on the server, you will be able to print from the client.

What if it doesn't print?
You probably don't have printer driver set up correctly. A lot of printers come working with cups out of the box and don't need any extra drivers. I however have a samsung and had to install extra drivers and PPD files. For more info on why you page isnt printing, 'cat /var/log/cups/error_log' Let me know if this is the case and I will try to direct you on how to setup your printer correctly.



CONFIGURE CLIENT
---------------
a) edit the following portion of the /etc/cups/client.conf
ServerName <server ip>

b) restart cups

c) configure printing on the cleint with http://localhost:631 in a web browser. enter the same printer name as you did on the server. Select 'Internet Printing Protocal (IPP)' as the device. Under device URI set it to 'ipp://<server ip>/printers/<printer name>'. Select the correct make and model for your printer. You should now be able to print a test page provided you can print one on the server.


Hope this was of some help, let me know how it turns out.

regards,
...drkstr
 
Old 04-29-2006, 04:14 AM   #18
d00bid00b
Member
 
Registered: Aug 2005
Location: London, UK
Distribution: Debian Testing
Posts: 157

Original Poster
Rep: Reputation: 31
drkstr: that worked like a charm - it must have been adjusting the servername in /etc/cups/client.conf on the Box B that did the trick. The test page from the client machine took a few seconds to spool but then printed out nicely.

Thanks so much for your patience in walking me through this. This is a recipe that I am keeping for future reference.

Thanks once again!!!
I am now a happy camper
 
Old 04-29-2006, 11:08 AM   #19
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
Quote:
Thanks so much for your patience in walking me through this.
It was an honor and a pleasure my friend. All I ask is that when you're ready, you share your knowledge with other people who are new to the community. Good luck and keep on Slacking!

...drkstr
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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/ local network cotom Linux - Newbie 3 10-02-2005 09:58 AM
Sharing Printer through network aznboi12321 SUSE / openSUSE 2 04-05-2005 10:29 PM
Sharing a Printer hooked onto Network dolphans1 Mandriva 6 10-29-2004 10:01 PM
how to get primary logon network, Access control,File sharing & printer sharing info dileepkk Linux - Networking 2 07-06-2004 07:54 AM
Sharing Printer on the network c0c0deuz Linux - Networking 1 11-07-2002 12:56 PM

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

All times are GMT -5. The time now is 04:29 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