LinuxQuestions.org
Help answer threads with 0 replies.
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 07-22-2004, 02:02 PM   #1
s1102879
LQ Newbie
 
Registered: Jul 2004
Location: Southwest Ohio, USA
Distribution: Slackware 10.0 & Mandrake 10.0
Posts: 7

Rep: Reputation: 0
Question Two PC's, One Printer or How to Share


I have two pc's running slackware 10.0. The printer (HP DeskJet 970Cxi) is connected to pc "B" via usb cable (and is able to print). Pc "A" is connected to B via crossover cable (I can ping one from the other). How do I go about getting PC "A" to print on the DeskJet. I have tried many of the settings in "print manager" w/ no luck. I'm assuming there is an easy way that I'm just ignorant of.

Thanks in advance for any help.
 
Old 07-22-2004, 02:07 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,226

Rep: Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709Reputation: 709
Use one PC as printserver, configure cupsd in both machines but on the second, point it to first pc ip adress.
 
Old 07-22-2004, 02:12 PM   #3
s1102879
LQ Newbie
 
Registered: Jul 2004
Location: Southwest Ohio, USA
Distribution: Slackware 10.0 & Mandrake 10.0
Posts: 7

Original Poster
Rep: Reputation: 0
^^ I'll give that a shot today and let you know how things turn out (have never configured cupsd). Thanks!
 
Old 07-28-2004, 10:33 AM   #4
s1102879
LQ Newbie
 
Registered: Jul 2004
Location: Southwest Ohio, USA
Distribution: Slackware 10.0 & Mandrake 10.0
Posts: 7

Original Poster
Rep: Reputation: 0
Well, I thought I had it. It looked sooo easy....right.

Here's what I get when I try to print: FORBIDDEN you don't have permission to access the resource on this server.

I'm logged in a root on both machines.

I have the pc not connected directly to the printer setup like this. http://192.168.0.61:631/printers/hp970cxi (the ip being that of the other machine that is directly connected.

Help!
 
Old 07-28-2004, 10:54 AM   #5
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 243Reputation: 243Reputation: 243
It may help if you have any experience with configure httpd.conf from apache server because the cupsd.conf has similar syntax.

Edit /etc/cups/cupsd.conf and change :
Code:
<Location />
Order Deny,Allow
Deny From All
Allow From 127.0.0.1
</Location>
to :
Code:
<Location />
Order Deny,Allow
Deny From All
Allow From 192.168.0.61/24
</Location>
Note that is just for try, you may want to fine tune your cupsd.conf after that, say allow access for just a printer (and not /), look at commented examples in cupsd.conf.

PS: the / for cupsd is not the same as / for your filesystem

Last edited by Cedrik; 07-28-2004 at 10:58 AM.
 
Old 07-28-2004, 01:23 PM   #6
s1102879
LQ Newbie
 
Registered: Jul 2004
Location: Southwest Ohio, USA
Distribution: Slackware 10.0 & Mandrake 10.0
Posts: 7

Original Poster
Rep: Reputation: 0
I did that ^^ and then started looking through the graphical interface for CUPS. I can see where those changes took place and a lot of other things I can set.

Once I got it set up on "B" correctly the printer showed up on "A" in the CUPS "setup" screen (i forget the exact name).

I think it's working now. They are going to print something while they are in thier "normal operating mode" and call me. I'll post my victory or defeat.
 
Old 07-29-2004, 01:43 PM   #7
s1102879
LQ Newbie
 
Registered: Jul 2004
Location: Southwest Ohio, USA
Distribution: Slackware 10.0 & Mandrake 10.0
Posts: 7

Original Poster
Rep: Reputation: 0
YAHOOOO!!!! It's alive, aliiiiiiiiiivvvvvvvvvveeee!

Thanks for all your sugestions.
 
Old 08-23-2004, 08:18 PM   #8
johnwr
LQ Newbie
 
Registered: Aug 2004
Distribution: Slackware10.0.0
Posts: 10

Rep: Reputation: 0
Sharing one printer between 2 PC's

Assuning that you only want to share the printer, and not files, try a Belkin 2POS Auto Switch, it needs appropriate cables (DB 25MM); the whole thing cost me $60 total. Switch sits between the 2 PC's and effectively allows each to send a print command to the printer. I had to mail order the Switch but it only took several days to arrive and was up and running in minutes.

Good luck!
 
  


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
Share Printer With Samba... Help gabriellai Linux - Software 7 06-15-2005 01:44 PM
Samba won't share printer ni0wn Slackware 10 11-17-2004 02:00 PM
printer share problems nbatkin Linux - Wireless Networking 0 10-21-2004 05:05 PM
how do i share a printer, then connect to that printer? darklordzim Linux - Newbie 5 05-01-2004 08:38 AM
Clustering All network (LAN) pc's together to share hardware resource pudhiyavan Linux - Networking 2 11-23-2003 02:19 PM

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

All times are GMT -5. The time now is 03:37 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration