Unable to set up LPD to use a HP Laserjet 5p in freeBSD 5.3
Jon Drews
jon.drews at gmail.com
Sun May 8 19:39:10 PDT 2005
On 5/8/05, modelt20 at canada.com <modelt20 at canada.com> wrote:
> Hello
>
> 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.
>
> dmesg printer part looks like this:
>
> 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=HP-LaserJet_5P
and the foomatic rip script from here:
http://www.linuxprinting.org/download.cgi?filename=foomatic-rip&show=0
The foomatic script runs your *.PPD file (PPD = PstScript Printer Description)
The details are given here:
http://www.linuxprinting.org/lpd-doc.html
> printcap looks like this:
>
> lp|HP Laserjet 5P:\
> :sh:\
> :sd=/var/spool/lpd:\
> :lf=/var/log/lpd:\
> :lp=/dev/lpt0:\
> :if=/etc/lpfilter:
then you need this /etc/printcap
lp|HP Laserjet 5P:\
:lp=/dev/lp0:\
:af=/path/to/ppd/file:\
:if=/path/to/foomatic-rip:\
:sd=/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.
--
Kind regards,
Jonathan
More information about the freebsd-questions
mailing list