From owner-freebsd-questions@FreeBSD.ORG Thu Oct 16 23:33:37 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22CA41065698 for ; Thu, 16 Oct 2008 23:33:37 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id D5AB98FC1A for ; Thu, 16 Oct 2008 23:33:36 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.2/8.14.2) with ESMTP id m9GNXYUO003824; Thu, 16 Oct 2008 17:33:34 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.2/8.14.2/Submit) with ESMTP id m9GNXYmL003821; Thu, 16 Oct 2008 17:33:34 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 16 Oct 2008 17:33:34 -0600 (MDT) From: Warren Block To: ajphanks@comcast.net In-Reply-To: <101620082036.391.48F7A5DA0009DFCD0000018722120207849C05020E089F060E@comcast.net> Message-ID: References: <101620082036.391.48F7A5DA0009DFCD0000018722120207849C05020E089F060E@comcast.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (wonkity.com [127.0.0.1]); Thu, 16 Oct 2008 17:33:35 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: Printing to a Lanier LD160c does not work X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2008 23:33:37 -0000 On Thu, 16 Oct 2008, ajphanks@comcast.net 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: Note here that in the second entry you don't have the :sh: and :mx#0: entries. No :if=: either, but maybe that's because you don't need an input filter for this printer. At first guess, this printer may be touchy about the print queue name. That's the :rp=: parameter, which is not here at all. There are a couple of KB entries on the Lanier site that say to use "lp". printcap entries are easier to read if you put one option per line: admincolor:\ :lp=:\ :sh:\ :mx#0:\ :rm=admincolor:\ :rp=lp:\ :sd=/var/spool/output/admincolor:\ :lf=/var/log/lpd-errs: -Warren Block * Rapid City, South Dakota USA