Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jan 1998 12:25:36 -0500
From:      Norman C Rice <nrice@emu.sourcee.com>
To:        Leif Neland <leifn@image.dk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: remote printing
Message-ID:  <19980104122536.20434@emu.sourcee.com>
In-Reply-To: <7ca_9801041233@swimsuit.swimsuit.roskildebc.dk>; from Leif Neland on Sun, Jan 04, 1998 at 12:22:54PM %2B0100
References:  <7ca_9801041233@swimsuit.swimsuit.roskildebc.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jan 04, 1998 at 12:22:54PM +0100, Leif Neland wrote:
> Printer lp works on machine arnold.
> 
> How do I print to this from machine darla.
> 
> I have changed the entry in /etc/printcap from remote and lphost to lp and
> arnold, but still: 'can not start lpd'

Try placing this in darla's /etc/printcap file:

lp|remote|Arnolds printer:\
    :lp=:rm=arnold:rp=lp:sd=/var/spool/output/lpd:\
	:lf=/var/log/lpd-errs:mx#0

The `rm' field should contain the remote machine's name.
The `rp' field should contain the remote machine's printer name.

You may have to clear the print queue on darla and ensure that darla
is running lpd (/etc/rc.conf has `lpd_enable="YES"').

> 
> I can't see how I get to enter the printername on the printerhost in the
> /etc/printcap on the client. 

Use the `rp' and `rm' fields, respectively.

> (excuse the not exact errormessages, but my violatile memory is not allways
> stable enough across the reboots I have to do to get to dos and write these
> messages)
> 
> 
> 
> Leif Neland
> leifn@image.dk
> 
> ---
> |Fidonet:  Leif Neland 2:234/49
> |Internet: leifn@image.dk

-- 
Regards,
Norman C. Rice, Jr.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980104122536.20434>