From: "Tom Browder" <tom2@fwb.asi.srs.com>
To: <axp-list@redhat.com>
Subject: Re: Where is hosts.lpd?
Date: Fri, 12 Mar 1999 10:54:15 -0600 [thread overview]
Message-ID: <01be6ca8$f68269c0$cb01000a@tomtom2.asi-fwb.com> (raw)
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
>
>
next reply other threads:[~1999-03-12 17:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-03-12 16:54 Tom Browder [this message]
1999-03-12 19:23 ` Where is hosts.lpd? --follow-up Ron Farrer
-- strict thread matches above, loose matches on Subject: below --
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
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox