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
------=_Part_58327_276274521.1224856361007
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable




----- "Warren Block" <wblock@wonkity.com> 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--



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