From owner-freebsd-questions@FreeBSD.ORG Fri Oct 24 13:52:42 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 42A7B106569D for ; Fri, 24 Oct 2008 13:52:42 +0000 (UTC) (envelope-from ajphanks@comcast.net) Received: from QMTA08.westchester.pa.mail.comcast.net (qmta08.westchester.pa.mail.comcast.net [76.96.62.80]) by mx1.freebsd.org (Postfix) with ESMTP id DB5708FC19 for ; Fri, 24 Oct 2008 13:52:41 +0000 (UTC) (envelope-from ajphanks@comcast.net) Received: from OMTA12.westchester.pa.mail.comcast.net ([76.96.62.44]) by QMTA08.westchester.pa.mail.comcast.net with comcast id Wc3b1a0020xGWP858dsSsb; Fri, 24 Oct 2008 13:52:26 +0000 Received: from sz0027.wc.mail.comcast.net ([76.96.58.75]) by OMTA12.westchester.pa.mail.comcast.net with comcast id Wdsh1a0041dP82L3YdshSE; Fri, 24 Oct 2008 13:52:41 +0000 X-Authority-Analysis: v=1.0 c=1 a=10SHvqaCvoUA:10 a=svVtg53j9BwA:10 a=b7Q5i9-aKjmn63cFco4A:9 a=9vbl-c2gPAK8tfj9o_EA:7 a=pi5_qUOVxl9FCWWGEnUqZ5xnGGkA:4 a=OyOq_G8mXAEA:10 a=si9q_4b84H0A:10 a=c5zHXd76wwQA:10 Date: Fri, 24 Oct 2008 13:52:41 +0000 (UTC) From: ajphanks@comcast.net To: Warren Block Message-ID: <486229633.1046401224856361008.JavaMail.root@sz0027a.westchester.pa.mail.comcast.net> In-Reply-To: MIME-Version: 1.0 X-Originating-IP: [65.82.33.222] X-Mailer: Zimbra 5.0.9_GA_2533.RHEL5_64 (ZimbraWebClient - IE6 (Win)/5.0.9_GA_2533.RHEL5_64) X-Mailman-Approved-At: Fri, 24 Oct 2008 14:03:24 +0000 Content-Type: multipart/related; boundary="----=_Part_58327_276274521.1224856361007" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 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: Fri, 24 Oct 2008 13:52:42 -0000 ------=_Part_58327_276274521.1224856361007 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable ----- "Warren Block" wrote: > On Fri, 17 Oct 2008, ajphanks@comcast.net wrote: >=20 > > I have tried the reccomendations that you guys have suggested with > no luck. >=20 > > Here is my current printcap. >=20 > > admincolor|LANIER LD160c RPCS:\ > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :lp=3D\ > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :mx#0:\ > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :sd=3D/var/spool/output/admi= ncolor:\ > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :rm=3Dadmincolor:\ > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :lf=3D/var/log/lpd-errs:\ > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :if=3D/usr/local/libexec/crf= ilter:\ > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :sh:\ > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :tr=3D\f: >=20 > Please trim your responses and don't top-post, as it makes responding > to=20 > your messages difficult. >=20 > The printcap still has no :rp=3Dlp: line. HP printers aren't picky > about=20 > that, but other brands sometimes are. >=20 > You've also added a filter and kept the multiple printer names.=20 > Things=20 > like that make more complexity to debug. Wait until you have basic=20 > communication working. The exact suggested printcap entry: >=20 > admincolor:\ > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :lp=3D:\ > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :sh:\ > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :mx#0:\ > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :rm=3Dadmincolor:\ > :rp=3Dlp:\ > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :sd=3D/var/spool/output/admi= ncolor:\ > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :lf=3D/var/log/lpd-errs: >=20 > Note: one printer name (who needs more than one, really?). rm=3D and > rp=3D=20 > entries. No filter; I think that printer can handle PostScript and > PCL. >=20 > Put that printcap entry in /etc/printcap, then send a PostScript test > to=20 > the printer (all one line): >=20 > printf "%%\!PS\n/Courier findfont 20 scalefont setfont 72 72 moveto > (Test!) show showpage\f" | lpr -P admincolor >=20 > -Warren Block * Rapid City, South Dakota USA I tried to reply to this email, but it never got posted. After doing some more troubleshooting I found out the generic error message= was indicating an authentication error. By default the printer assumes co= lor print, but the printer was setup to require a userid from the driver to= allow color printing. When the autherntication feature is disabled the pr= inter now works. My next step is to see what and how I can supply that inf= o in the printcap. =20 Thanks for all the suggestions and guidance. ------=_Part_58327_276274521.1224856361007--