LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   printer sharing questions (https://www.linuxquestions.org/questions/linux-newbie-8/printer-sharing-questions-362913/)

boxerboy 09-13-2005 06:57 AM

printer sharing questions
 
i have a printer hooked up through usb on my ubuntu breezy pc and id like to share printer with FC4 pc. is there a such thing as an printer share for dummies how-to out there and what is the easiest "program" to share printers. also i was looking at samba but they are saying something about using the same kernel and im thinking fc4 and breezy are different kernels. and im guessing it doesnt help that i dont know my ip as it is dynamic and changes every so often. anyway im looking for a dumbass guide to do this is there a such thing?

both pcs have the same name if that makes a difference.

TigerOC 09-14-2005 03:24 AM

You should look at CUPS which is probably already installed in ubuntu. You would need to install it in fc4 as well. Then bring up a browser in fc4 and do http://localhost:631 and then install the printer as a network printer.

boxerboy 09-14-2005 04:36 AM

Code:

[14/Sep/2005:05:33:54 -0400] Adding start banner page "none" to job 1.
I [14/Sep/2005:05:33:54 -0400] Adding end banner page "none" to job 1.
I [14/Sep/2005:05:33:54 -0400] Job 1 queued on 'epson' by 'root'.
I [14/Sep/2005:05:33:54 -0400] Started filter /usr/lib/cups/filter/pstops (PID 17569) for job 1.
I [14/Sep/2005:05:33:54 -0400] Started filter /usr/lib/cups/filter/foomatic-rip (PID 17570) for job 1.
I [14/Sep/2005:05:33:54 -0400] Started backend /usr/lib/cups/backend/ipp (PID 17571) for job 1.

thats what i got after setting it up i think something isnt right as server i put the name of the pc because nothing on those pages told me what to do with server. also on the ubuntu pc the printer is local is that ok or do i need to change that one to network also?

boxerboy 09-14-2005 05:07 AM

the errors forget about i fixed them i forgot the drivers. ok got driverws in and ready and when it asked for server i had boxer in there cause both pcs are named boxer but it says cant find host boxer. what server should i use than nothing tells me

TigerOC 09-14-2005 10:14 AM

Use the ip address instead

boxerboy 09-14-2005 12:17 PM

Code:

[root@ boxerboy]# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:12:17:53:BB:85
          inet addr:192.168.10.2  Bcast:192.168.10.255  Mask:255.255.255.0
          inet6 addr: fe80::212:17ff:fe53:bb85/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9413 errors:0 dropped:0 overruns:0 frame:0
          TX packets:11132 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2335942 (2.2 MiB)  TX bytes:1308075 (1.2 MiB)
          Interrupt:10 Base address:0x8000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:2977 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2977 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:3056706 (2.9 MiB)  TX bytes:3056706 (2.9 MiB)

[root@ boxerboy]#

thats what i got on this pc the other one is same cept "inet addr is 192.168.10.4 i tried 192.168.10.2 /192.168.10.4/127.0.0.1 and now it says
Code:

I [14/Sep/2005:13:13:16 -0400] Adding start banner page "none" to job 4.
I [14/Sep/2005:13:13:16 -0400] Adding end banner page "none" to job 4.
I [14/Sep/2005:13:13:16 -0400] Job 4 queued on 'epson' by 'root'.

im not real sure what else it would need also its set for ipp and shoulld i have local or network set on pc with printer attached?

TigerOC 09-14-2005 02:36 PM

The address is the ip address of the box to which the printer is attached. The printer is left as a usb printer on the host that it is attached to. Basically you are routing printing via the ip address to the printer.

boxerboy 09-14-2005 03:32 PM

ok there are wayyyyyyyyyy too damn many ip addresseds to remember ok i tried all those and i tried my routers ip and now instead of banner errors and crap i am getting this error:

Code:

lpr: error-unable to print file: server-error-service-unavailable
i have it named epson just for ease and here are rest of settings:
Code:

Queue type:networked CUPS (IPP)      server:192.168.10.1  path:/printers/queue1    printer driver for epson c64:gimp-print-ijs
im not sure what else to do im thinking everything is set right oh i have pc with printer attached as a local printer i heard that was good?????????? i dont have a clue anymore i always concidered myself good with pcs but i guess that was windozes crap.

TigerOC 09-15-2005 01:18 AM

Which desktop manager do you have on the fc4 box?

boxerboy 09-15-2005 04:09 AM

KDE and gnome

TigerOC 09-15-2005 05:36 AM

Under kde go K -> Settings -> Printing manager. At the bottom right it should say CUPS. At the top left is Add select this and go through the wizard and on the next screen select network printer via tcp and just follow the wizard.

boxerboy 09-15-2005 01:42 PM

thank you i was using wrong kprinter thing the test page printer finally


All times are GMT -5. The time now is 10:16 PM.