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>
index | next in thread | previous in thread | raw e-mail
On 5/8/05, modelt20@canada.com <modelt20@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, Jonathanhelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8cb27cbf0505081939194b03f7>
