Printing to a Lanier LD160c does not work

Martin Alejandro Paredes Sanchez mapsware at prodigy.net.mx
Thu Oct 23 23:59:10 PDT 2008


El Jue 23 Oct 2008, Jeremy Chadwick escribió:
> On Thu, Oct 23, 2008 at 09:42:41PM -0700, Martin Alejandro Paredes Sanchez 
wrote:
> > El Jue 16 Oct 2008, Jeremy Chadwick escribió:
> > >
> > > 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:\
> > >
> > >       :lp=192.168.1.100\
> > >       :sd=/var/spool/output/admincolor:rm=admincolor:\
> > >       :lf=/var/log/lpd-errs:
> >
> > Negative, leave the lp capability blank, explicitly (:lp=:).
> >
> > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/printing-advanc
> >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 at 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=:\
:rm=hostname-or-ip:\
:rp=printer-name:\

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

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

maps


More information about the freebsd-questions mailing list