Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Where is hosts.lpd?
@ 1999-03-12  4:06 Ron Farrer
  1999-03-12  4:17 ` Cornelius Creedon
  0 siblings, 1 reply; 7+ messages in thread
From: Ron Farrer @ 1999-03-12  4:06 UTC (permalink / raw)
  To: axp-list


Where is hosts.lpd on Red Hat (Alpha) systems? I am guessing that, like
with several other things, RH has their own way of doing things...


TIA,

Ron Farrer
--
Universal Computer Technologies -- An Alpha - only OEM!
Mail: uct@fidalgo.net
Web: http://www.fidalgo.net/~uct/
Check out our March specials!


^ permalink raw reply	[flat|nested] 7+ messages in thread
* Re: Where is hosts.lpd?
@ 1999-03-12 16:54 Tom Browder
  0 siblings, 0 replies; 7+ messages in thread
From: Tom Browder @ 1999-03-12 16:54 UTC (permalink / raw)
  To: axp-list

I missed the original post, but I assume you want to access a remote
printer using lpr as:

  lpr -P<remote printer> <file> 

Assume all else is OK, and say the print server is host "fortuna.my.com" with IP address 10.0.1.1,
then you need an /etc/hosts file containing at least the following line:

    fortuna.my.com 10.0.0.1 fortuna

The /etc/hosts.lpd file will have a line that looks like:

  fortuna.my.com

Of course the /etc/printcap file on the local machine will have a line that looks like:

<remote printer>|<alternate name>:\
:rm=fortuna.my.com:\
:rp=lp:\
(etc.)

The print server's printcap will have a line that looks like:

lp:\
:sd=<spool directory>:\
:lp=/dev/<port>:\
(etc.)


Good luck.

Tom Browder


-----Original Message-----
From: Ron Farrer <uct@fidalgo.net>
To: axp-list@redhat.com <axp-list@redhat.com>
Date: Friday, March 12, 1999 10:11 AM
Subject: Re: Where is hosts.lpd?


>
>On Thu, 11 Mar 1999, Cornelius Creedon wrote:
>
>> 
>> AFAIK it should just contain 1 ip address or name per line of a machine
>> that is permitted to use your local printer(s)
>> 
>> -cc
>
>Okay, I added the ip address (10.0.0.8) of the machine (AS200 :-) I want
>to allow printing from, but get this error "lpd: fax: Host name for your
>address (10.0.0.8) unknown" after typing lpq to see what's going on. I've
>gone over the network and printer config's many times, but I don't see
>anything that is obvious. 
>
>
>Anyone have an idea (other than I'm an idiot)??
>
>
>TIA,
>
>Ron Farrer
>
>-- 
>To unsubscribe: send e-mail to axp-list-request@redhat.com with
>'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com
>
>



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~1999-03-12 17:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-12  4:06 Where is hosts.lpd? Ron Farrer
1999-03-12  4:17 ` Cornelius Creedon
1999-03-12  4:36   ` Ron Farrer
1999-03-12  4:45     ` Cornelius Creedon
1999-03-12 16:06       ` Ron Farrer
1999-03-12 17:15         ` Jochen Kuepper
  -- strict thread matches above, loose matches on Subject: below --
1999-03-12 16:54 Tom Browder

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox