[NTLUG:Discuss] cups question
m m
llliiilll at hotmail.com
Fri Jul 2 01:48:16 CDT 2004
>From: Chris Cox <cjcox at acm.org>
>m m wrote:
>>Hi All:
>>
>>I tried to share a print for many computers. I tried to configure the cups
>>that comes with RH 9.0 installation. I use web interface to set it up it
>>as:
>>
>>epson stylus c80
>>use ipp://hostname/ipp/
>>cups epson stylus color drive 1.1
>
>Where does the printer reside? You've specified the printer as
>being remote via IPP at the host called "hostname". However, if
>this is a Windows IPP shared printer, I believe by default it will
>use port 80 (ick) for IPP. But I think you usually have to download
>something to enable IPP on Windows anyway.
Windows don't comes with IPP?
well I think I may try Samba.
Any pros and cons on cups and samba for sharing (just one) printer?
>
>>
>>when i tried to test it, i got "the connection was refused when attempting
>>to contact hostname:631"
>>
>>I then change connection device as parallel port, http.... connection
>>method.
>>all get the same problem.
>
>Ok.. so the printer is local(??). Is it attached parallel or USB??
It is local, and attached to the parallel port.
>I have
>a C80 and both work. My Linux box attaches USB and my wife's Linux box
>attaches via parallel.
Do you mean you have one printer connect 2 computers with 2 cables physical
connected?
this is not what i want. Ideally, i want the printer connect to the network
switch (or computer) , and as long as the server is on, any remote computers
can print.
it bright me another question, how do i (physically, [switch or computer?]
) connect 3 printers and all computers can share these 3 printers?
>
>So.. if this is a local printer, set it up attaching parallel.
>Will end up with something like parallel:/dev/lp0 or somesuch.
yes, when i set up with parallel port, it does say something like this,
parallel:/dev/lp0.
and I can print the file form text editor. but I can not print the test page
from the cups browser's interface. I got the same error.
>If USB... it depends... on SUSE 9.0... it ends up looking like
>usb://EPSON/Stylus%20C80. I'd recommend going parallel since
>USB varies greatly from Linux to Linux.
>
>>
>>it all happened on same box. (remote box, of course, never see the printer
>>so far)
>>
>>I have /ect/hosts have the first lin like:
>>127.0.0.1 hosename.mydomain.com localhost.localdomain localhost
>>
>>any ideas?
>>
>>thanks in advance.
>
>Set the printer up parallel via the CUPS browser interface
>at http://localhost:631. And then you might want to
>post us your printers.conf file from the /etc/cups
>directory (just to make sure).
>
yes, I did. same problem. can not print the test page from the cups
browser's interface but other text editor such as Kwrite.
I notice I can not connection by typing http://hostname:631/ipp by i can get
in by http://localhost:631/ipp or http://127.0.0.1:631/ipp
here is the printer.conf
#Written by cupsd on Fri 02 Jul 2004 04:52:10 AM GMT
<DefaultOrinter printer>
Info Created by redhat-config-printer 0.6.x
Location A
DeviceURI parallel:/dev/lp0
State Idle
Accepting Yes
JobSheets none none
OuotaPeriod 0
PageLimit 0
Klimit 0
</Printer>
if I set up as parallel:/dev/lp0, what is the URI for remote computers
(either Windoz or Linux)
per Greg:
i have tried
127.0.0.1 localhost.localdomain localhost
w.x.y.z hostname.mydomain.com hostname
and
127.0.0.1 hostname.mydomain.com localhost.localdomain localhost
w.x.y.z hostname.mydomain.com hostname
no luck.
>Your hosts file is declaring hosename.mydomain.com (typo ?) to be a local
>which is not available >remotely. Cups attempts to use the name the world
>knows your machine by. Set >hostname.mydomain.com to the correct IP in
>/etc/hosts and restart cups.
>
>127.0.0.1 localhost.localdomain localhost w.x.y.z hostname.mydomain.com
>hostname
>
>--
>Greg Edwards
>_______________________________________________
>https://ntlug.org/mailman/listinfo/discuss
_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
More information about the Discuss
mailing list