From owner-freebsd-questions@FreeBSD.ORG Sat Oct 18 02:57:49 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 102B0106568E for ; Sat, 18 Oct 2008 02:57:49 +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 A280E8FC14 for ; Sat, 18 Oct 2008 02:57:48 +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 m9I2vZvq008978; Fri, 17 Oct 2008 20:57:35 -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 m9I2vYQq008975; Fri, 17 Oct 2008 20:57:34 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 17 Oct 2008 20:57:34 -0600 (MDT) From: Warren Block To: ajphanks@comcast.net In-Reply-To: <101720082050.20434.48F8FA950007FF1800004FD222155786749C05020E089F060E@comcast.net> Message-ID: References: <101720082050.20434.48F8FA950007FF1800004FD222155786749C05020E089F060E@comcast.net> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-245502102-1224297536=:8917" Content-ID: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.0 (wonkity.com [127.0.0.1]); Fri, 17 Oct 2008 20:57: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: Sat, 18 Oct 2008 02:57:49 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --0-245502102-1224297536=:8917 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8BIT Content-ID: On Fri, 17 Oct 2008, ajphanks@comcast.net wrote: > I have tried the reccomendations that you guys have suggested with no luck. > Here is my current printcap. > admincolor|LANIER LD160c RPCS:\ >         :lp=\ >         :mx#0:\ >         :sd=/var/spool/output/admincolor:\ >         :rm=admincolor:\ >         :lf=/var/log/lpd-errs:\ >         :if=/usr/local/libexec/crfilter:\ >         :sh:\ >         :tr=\f: Please trim your responses and don't top-post, as it makes responding to your messages difficult. The printcap still has no :rp=lp: line. HP printers aren't picky about that, but other brands sometimes are. You've also added a filter and kept the multiple printer names. Things like that make more complexity to debug. Wait until you have basic communication working. The exact suggested printcap entry: admincolor:\         :lp=:\         :sh:\         :mx#0:\         :rm=admincolor:\ :rp=lp:\         :sd=/var/spool/output/admincolor:\         :lf=/var/log/lpd-errs: Note: one printer name (who needs more than one, really?). rm= and rp= entries. No filter; I think that printer can handle PostScript and PCL. Put that printcap entry in /etc/printcap, then send a PostScript test to the printer (all one line): printf "%%\!PS\n/Courier findfont 20 scalefont setfont 72 72 moveto (Test!) show showpage\f" | lpr -P admincolor -Warren Block * Rapid City, South Dakota USA --0-245502102-1224297536=:8917--