Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Oct 2008 13:52:41 +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:  <486229633.1046401224856361008.JavaMail.root@sz0027a.westchester.pa.mail.comcast.net>
In-Reply-To: <alpine.BSF.2.00.0810172033060.8917@wonkity.com>

next in thread | previous in thread | raw e-mail | index | archive | help




----- "Warren Block" <wblock@wonkity.com> wrote:

> 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

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 color print, but the printer was setup to require a userid from the driver to allow color printing.  When the autherntication feature is disabled the printer now works.  My next step is to see what and how I can supply that info in the printcap.

 

Thanks for all the suggestions and guidance.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?486229633.1046401224856361008.JavaMail.root>