On Thu, Oct 23, 2008 at 09:42:41PM -0700, Martin Alejandro Paredes Sanchez wrote: > El Jue 16 Oct 2008, Jeremy Chadwick escribió: > > On Thu, Oct 16, 2008 at 08:36:42PM +0000, [EMAIL PROTECTED] wrote: > > > I am trying to setup a Lanier LD160c (admincolor) that has a network > > > interface. I am new to FreeBSD and tried to follow the handbook. I am > > > able to print to a HP 5SI (corp-admin) with no problems. There are no > > > errors in the lpd-errs and the file is drained from the queue, but the > > > printer does not print anything. And this is a working printer to > > > Windows. lpr -P admincolor testfile.txt > > > > > > printcap: > > > corp-admin|hp|laserjet|Hewlett Packard LaserJet 5Si:\ > > > > > > :lp=\ > > > :sd=/var/spool/output/corp-admin:rm=corp-admin:\ > > > :lf=/var/log/lpd-errs:\ > > > :if=/usr/local/libexec/crlfilter:sh:tr=\f:mx#0: > > > > > > admincolor|hp|laserjet|LANIER LD160c RPCS:\ > > > > > > :lp=\ > > > :sd=/var/spool/output/admincolor:rm=admincolor:\ > > > :lf=/var/log/lpd-errs: > > > > 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-advanced.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 [EMAIL PROTECTED] to open a TCP socket rm str NULL machine name for remote printer I can file a PR (to doc) on this if recommended. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB | _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"