Date: Tue, 21 Oct 2008 15:24:25 +0000 (UTC) From: ajphanks@comcast.net To: Warren Block <wblock@wonkity.com> Cc: freebsd-questions@freebsd.org Subject: Re: Printing to a Lanier LD160c does not work 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>
next in thread | previous in thread | raw e-mail | index | archive | help
----- "Warren Block" <wblock@wonkity.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?616535476.544901224602665091.JavaMail.root>