Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: Where is hosts.lpd?
@ 1999-03-12 16:54 Tom Browder
  1999-03-12 19:23 ` Where is hosts.lpd? --follow-up Ron Farrer
  0 siblings, 1 reply; 2+ 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] 2+ messages in thread

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

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-12 16:54 Where is hosts.lpd? Tom Browder
1999-03-12 19:23 ` Where is hosts.lpd? --follow-up Ron Farrer

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