From owner-freebsd-questions@FreeBSD.ORG Tue Oct 21 15:24:26 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 C8906106566B for ; Tue, 21 Oct 2008 15:24:26 +0000 (UTC) (envelope-from ajphanks@comcast.net) Received: from QMTA05.westchester.pa.mail.comcast.net (qmta05.westchester.pa.mail.comcast.net [76.96.62.48]) by mx1.freebsd.org (Postfix) with ESMTP id 7357E8FC08 for ; Tue, 21 Oct 2008 15:24:26 +0000 (UTC) (envelope-from ajphanks@comcast.net) Received: from OMTA11.westchester.pa.mail.comcast.net ([76.96.62.36]) by QMTA05.westchester.pa.mail.comcast.net with comcast id VNZB1a0080mv7h055TQRe9; Tue, 21 Oct 2008 15:24:25 +0000 Received: from sz0027.wc.mail.comcast.net ([76.96.58.75]) by OMTA11.westchester.pa.mail.comcast.net with comcast id VTPh1a00p1dP82L3XTPhU0; Tue, 21 Oct 2008 15:23:41 +0000 X-Authority-Analysis: v=1.0 c=1 a=10SHvqaCvoUA:10 a=svVtg53j9BwA:10 a=-3mc0CkCyd6tCcAT6EgA:9 a=NvKU8pTfvPLXi5mgmIMA:7 a=fg1QUOFBfQ6MGaR81i_ZS70Y05sA:4 a=OyOq_G8mXAEA:10 a=si9q_4b84H0A:10 a=c5zHXd76wwQA:10 Date: Tue, 21 Oct 2008 15:24:25 +0000 (UTC) From: ajphanks@comcast.net To: Warren Block Message-ID: <616535476.544901224602665091.JavaMail.root@sz0027a.westchester.pa.mail.comcast.net> In-Reply-To: <1383331831.542531224602056248.JavaMail.root@sz0027a.westchester.pa.mail.comcast.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Originating-IP: [149.128.8.243] X-Mailer: Zimbra 5.0.9_GA_2533.RHEL5_64 (ZimbraWebClient - IE6 (Win)/5.0.9_GA_2533.RHEL5_64) X-Mailman-Approved-At: Tue, 21 Oct 2008 16:05:24 +0000 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: Tue, 21 Oct 2008 15:24:27 -0000 ----- "Warren Block" wrote:=20 > On Fri, 17 Oct 2008, ajphanks@comcast.net wrote:=20 > > I have tried the reccomendations that you guys have suggested with no l= uck.=20 > > Here is my current printcap.=20 > > admincolor|LANIER LD160c RPCS:\=20 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :lp=3D\=20 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :mx#0:\=20 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :sd=3D/var/spool/output/admi= ncolor:\=20 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :rm=3Dadmincolor:\=20 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :lf=3D/var/log/lpd-errs:\=20 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :if=3D/usr/local/libexec/crf= ilter:\=20 > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :sh:\=20 > > =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. =C2=A0HP 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. =C2=A0Thi= ngs=20 > like that make more complexity to debug. =C2=A0Wait until you have basic= =20 > communication working. =C2=A0The exact suggested printcap entry:=20 > admincolor:\=20 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :lp=3D:\=20 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :sh:\=20 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :mx#0:\=20 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :rm=3Dadmincolor:\= =20 > =C2=A0=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:rp=3Dlp:\=20 > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :sd=3D/var/spool/o= utput/admincolor:\=20 > =C2=A0=C2=A0=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?). =C2=A0rm=3D an= d rp=3D=20 > entries. =C2=A0No 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=20 I took your block above and replaced my block in the printcap, then sent th= e exact command above with the same failure. The queue is drained and the p= rinter's log has a generic message "The job was reset." message.=C2=A0=20 My current printcap file.=20 corp-admin|hp|laserjet|Hewlett Packard LaserJet 5Si:\=20 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :lp=3D\=20 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :sd=3D/var/spool/output/corp-adm= in:\=20 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :rm=3Dcorp-admin:\=20 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :lf=3D/var/log/lpd-errs:\=20 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :if=3D/usr/local/libexec/crlfilt= er:\=20 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :sh:\=20 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :tr=3D\f:\=20 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :mx#0:=20 admincolor:\=20 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :lp=3D:\=20 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :sh:\=20 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :mx#0:\=20 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :rm=3Dadmincolor:\=20 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :rp=3Dlp:\=20 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :sd=3D/var/spool/output/admincol= or:\=20 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :lf=3D/var/log/lpd-errs:=20 Queue status after print job is sent. #=C2=A0lpc status all=20 corp-admin:=20 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 queuing is enabled=20 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 printing is enabled=20 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 no entries in spool area=20 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 printer idle=20 admincolor:=20 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 queuing is enabled=20 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 printing is enabled=20 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 no entries in spool area=20 =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 printer idle=20