Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Oct 2008 23:59:08 -0700
From:      Martin Alejandro Paredes Sanchez <mapsware@prodigy.net.mx>
To:        freebsd-questions@freebsd.org
Subject:   Re: Printing to a Lanier LD160c does not work
Message-ID:  <200810232359.08739.mapsware@prodigy.net.mx>
In-Reply-To: <20081024052257.GA5231@icarus.home.lan>
References:  <101620082036.391.48F7A5DA0009DFCD0000018722120207849C05020E089F060E@comcast.net> <200810232142.41941.mapsware@prodigy.net.mx> <20081024052257.GA5231@icarus.home.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
El Jue 23 Oct 2008, Jeremy Chadwick escribi=F3:
> On Thu, Oct 23, 2008 at 09:42:41PM -0700, Martin Alejandro Paredes Sanche=
z=20
wrote:
> > El Jue 16 Oct 2008, Jeremy Chadwick escribi=F3:
> > >
> > > If this printer is hooked up on the network (e.g. via Ethernet), I
> > > believe you need to set the lp variable to the hostname or IP address
> > > of the printer, e.g.:
> > >
> > > admincolor|hp|laserjet|LANIER LD160c RPCS:\
> > >
> > > =A0=A0=A0=A0=A0=A0:lp=3D192.168.1.100\
> > > =A0=A0=A0=A0=A0=A0:sd=3D/var/spool/output/admincolor:rm=3Dadmincolor:\
> > > =A0=A0=A0=A0=A0=A0:lf=3D/var/log/lpd-errs:
> >
> > Negative, leave the lp capability blank, explicitly (:lp=3D:).
> >
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing-adva=
nc
> >ed.html#PRINTING-ADVANCED-NETWORK-RM
>
> Then the printcap(5) man page should reflect this; the existing
> explanations for both fields are painfully terse.
>
> lp         str       /dev/lp                device name to open for
>                                             output, or port@machine to
>                                             open a TCP socket
> rm         str       NULL                   machine name for remote
>                                             printer
>
> I can file a PR (to doc) on this if recommended.

if you are printing to a remote LPD system, you should use:

:lp=3D:\
:rm=3Dhostname-or-ip:\
:rp=3Dprinter-name:\

If you use lp=3Dport@machine, then you should not use rp and rm, but in the=
 port=20
of the machine should be a program that undestand LPD/LPR protocol.

The printcap(5) man page has a section "REMOTE PRINTING".

maps



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