Home > Archive > alt.os.linux > September 2002 > Re: CUPS





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: CUPS
Garry Knight

2002-09-26, 7:29 pm

Lee Bouknight wrote:

> I'm trying to setup CUPS and having problems. It keeps defaulting to
> using "localhost:631" as the port for a printer shared on my network.
> If I change this to "workgroup:631" (my domain) it lets me setup the
> printer and all seems well. Then, when I try to print, it comes back
> and says 'An error occured while loading
> http://localhost:631/printers/Epson?op=print-test-page:
>
> Could not connect to host localhost (port 631)"
>
> ....which is, of course, because "localhost" doesn't exist. It
> continues to default back to this. Buried somewhere deep in my linux
> setup, it still thinks it's call "localhost".
>
> Where do I look? Any ideas?


You should leave the localhost entry in your /etc/hosts and add 'workgroup'
as an alias. Something like this:

127.0.0.1 localhost.localdomain localhost workgroup

Or this:

127.0.0.1 localhost.localdomain localhost
127.0.0.1 workgroup


--
Garry Knight
garryknight@gmx.net ICQ: 126351135
Linux registered user 182025
Garry Knight

2002-09-26, 8:29 pm

Lee Bouknight wrote:

> I'm trying to setup CUPS and having problems. It keeps defaulting to
> using "localhost:631" as the port for a printer shared on my network.
> If I change this to "workgroup:631" (my domain) it lets me setup the
> printer and all seems well. Then, when I try to print, it comes back
> and says 'An error occured while loading
> http://localhost:631/printers/Epson?op=print-test-page:
>
> Could not connect to host localhost (port 631)"
>
> ....which is, of course, because "localhost" doesn't exist. It
> continues to default back to this. Buried somewhere deep in my linux
> setup, it still thinks it's call "localhost".
>
> Where do I look? Any ideas?


You should leave the localhost entry in your /etc/hosts and add 'workgroup'
as an alias. Something like this:

127.0.0.1 localhost.localdomain localhost workgroup

Or this:

127.0.0.1 localhost.localdomain localhost
127.0.0.1 workgroup


--
Garry Knight
garryknight@gmx.net ICQ: 126351135
Linux registered user 182025
Michael Heiming

2002-09-27, 11:29 am

Lee Bouknight (<an0iu3$lds$1@slb7.atl.mindspring.net> ):

[..]
> Long and short - is CUPS the way to go, or lpd? I have a simple
> setup -
> printer is connected on a Windows 98 machine, //p_server/epson.
> No
> password required. I can see the machine, I can print to the
> printer from wife's XP machine - so what am I doing wrong?


Both work fine, however you won't get cups running if both packages
are installed. Did you try the printing howto (linuxdoc.org) or
cups.org for help.

Michael Heiming
--
Remove the +SIGNS case mail bounces.
Michael Heiming

2002-09-27, 12:29 pm

Lee Bouknight (<an0iu3$lds$1@slb7.atl.mindspring.net> ):

[..]
> Long and short - is CUPS the way to go, or lpd? I have a simple
> setup -
> printer is connected on a Windows 98 machine, //p_server/epson.
> No
> password required. I can see the machine, I can print to the
> printer from wife's XP machine - so what am I doing wrong?


Both work fine, however you won't get cups running if both packages
are installed. Did you try the printing howto (linuxdoc.org) or
cups.org for help.

Michael Heiming
--
Remove the +SIGNS case mail bounces.
Matt

2002-09-29, 5:29 pm

Michael Heiming wrote:

> Lee Bouknight (<an0iu3$lds$1@slb7.atl.mindspring.net> ):
>
> [..]
>> Long and short - is CUPS the way to go, or lpd? I have a simple
>> setup -
>> printer is connected on a Windows 98 machine, //p_server/epson.
>> No
>> password required. I can see the machine, I can print to the
>> printer from wife's XP machine - so what am I doing wrong?

>
> Both work fine, however you won't get cups running if both packages
> are installed. Did you try the printing howto (linuxdoc.org) or
> cups.org for help.


"... if both packages are running" I think you meant. You must stop the lp
daemon and start cupsd. The documentation tells you how this might be done
permanently.


>
> Michael Heiming
> --
> Remove the +SIGNS case mail bounces.


The one that caught me out was a symlink to the samba backend in CUPS. Make
sure it's there, and if it is, don't try to re-create it (my error!).
The link is "/usr/lib/cups/backend/smb" (or wherever your cups libs are) and
should point to "/usr/bin/smbspool" (or wherever your smbspool resides).

I have used CUPS successfully on 2 machines, 3 printers via Windoze, 1
printer via Jetdirect and 1 printer via parallel. Can't praise highly
enough.

Matt
Matt

2002-09-29, 6:29 pm

Michael Heiming wrote:

> Lee Bouknight (<an0iu3$lds$1@slb7.atl.mindspring.net> ):
>
> [..]
>> Long and short - is CUPS the way to go, or lpd? I have a simple
>> setup -
>> printer is connected on a Windows 98 machine, //p_server/epson.
>> No
>> password required. I can see the machine, I can print to the
>> printer from wife's XP machine - so what am I doing wrong?

>
> Both work fine, however you won't get cups running if both packages
> are installed. Did you try the printing howto (linuxdoc.org) or
> cups.org for help.


"... if both packages are running" I think you meant. You must stop the lp
daemon and start cupsd. The documentation tells you how this might be done
permanently.


>
> Michael Heiming
> --
> Remove the +SIGNS case mail bounces.


The one that caught me out was a symlink to the samba backend in CUPS. Make
sure it's there, and if it is, don't try to re-create it (my error!).
The link is "/usr/lib/cups/backend/smb" (or wherever your cups libs are) and
should point to "/usr/bin/smbspool" (or wherever your smbspool resides).

I have used CUPS successfully on 2 machines, 3 printers via Windoze, 1
printer via Jetdirect and 1 printer via parallel. Can't praise highly
enough.

Matt
Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2008 examnotes.net