Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 May 2005 20:39:10 -0600
From:      Jon Drews <jon.drews@gmail.com>
To:        "modelt20@canada.com" <modelt20@canada.com>
Cc:        freeBSD-questions@freebsd.org
Subject:   Re: Unable to set up LPD to use a HP Laserjet 5p in freeBSD 5.3
Message-ID:  <8cb27cbf0505081939194b03f7@mail.gmail.com>
In-Reply-To: <20050509004406.27443.fh050.wm@smtp.sc0.cp.net>
References:  <20050509004406.27443.fh050.wm@smtp.sc0.cp.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/8/05, modelt20@canada.com <modelt20@canada.com> wrote:
> Hello
>=20
> I`m trying to install my HP laserjet 5p on freebsd 5.3.
> The printer doesn`t understand postscript.
> I`ve read the handbook and installed ghostscript and
> lpd.
> I changed rc.conf to start lpd for each system boot.
>=20
> dmesg printer part looks like this:
>=20
> ppbus0: <Hewlett-Packard HP LaserJet 5P> HP ENHANCED
> PCL5,PJL
> lpt0: <Printer> on ppbus0
> lpt0: Interrupt-driven port
> ppi0: <Parallel I/O> on ppbus

Hi:

  Let me just say that I have only setup lpd on OpenBSD. I use CUPS on
FreeBSD. I am going from memory here.

You need to get the ljet4 PPD file from here:
http://www.linuxprinting.org/show_printer.cgi?recnum=3DHP-LaserJet_5P

and the foomatic rip script from here:
http://www.linuxprinting.org/download.cgi?filename=3Dfoomatic-rip&show=3D0

The foomatic script runs your *.PPD file (PPD =3D PstScript Printer Descrip=
tion)

The details are given here:
http://www.linuxprinting.org/lpd-doc.html

> printcap looks like this:
>=20
> lp|HP Laserjet 5P:\
> :sh:\
> :sd=3D/var/spool/lpd:\
> :lf=3D/var/log/lpd:\
> :lp=3D/dev/lpt0:\
> :if=3D/etc/lpfilter:

then you need this /etc/printcap
  lp|HP Laserjet 5P:\
:lp=3D/dev/lp0:\
:af=3D/path/to/ppd/file:\
:if=3D/path/to/foomatic-rip:\
:sd=3D/path/to/spool/directory:\
:mx#0:sh:

then follow the directions in Section 11.3.1.4.3 "Making the Spooling
Directory", of the FreeBSD Handbook.


> Any help will be appreciated. Thanks.

I realize this is kind of vague but I set up printing once about 6
months ago and have forgotten all the details. Hey, that is the beauty
of *BSD. I only have to configure something once and then it works for
a long time.

--=20
Kind regards,
Jonathan



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