From owner-freebsd-questions@FreeBSD.ORG Mon May 9 02:39:10 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C02DD16A4E6 for ; Mon, 9 May 2005 02:39:10 +0000 (GMT) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7354D43D39 for ; Mon, 9 May 2005 02:39:10 +0000 (GMT) (envelope-from jon.drews@gmail.com) Received: by zproxy.gmail.com with SMTP id 34so1618896nzf for ; Sun, 08 May 2005 19:39:10 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=BJ8CjLuPoAT6Hk78EB19kkCrjKPtjs7aUL+SMSUlomC0fIjP8AjmMfbjqB6ND3RfJCvnX2UnOFYzjzNUp8qRfJrDU6UbTFJp/ST2Jbqag3Agnni5tAd7fZtDV12FqoUvRg8xRdvVNI5HW+QvaegJdmtJiJPigDd/IbJdS9q08Bg= Received: by 10.36.2.12 with SMTP id 12mr1025246nzb; Sun, 08 May 2005 19:39:10 -0700 (PDT) Received: by 10.36.60.4 with HTTP; Sun, 8 May 2005 19:39:10 -0700 (PDT) Message-ID: <8cb27cbf0505081939194b03f7@mail.gmail.com> Date: Sun, 8 May 2005 20:39:10 -0600 From: Jon Drews To: "modelt20@canada.com" In-Reply-To: <20050509004406.27443.fh050.wm@smtp.sc0.cp.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20050509004406.27443.fh050.wm@smtp.sc0.cp.net> cc: freeBSD-questions@freebsd.org Subject: Re: Unable to set up LPD to use a HP Laserjet 5p in freeBSD 5.3 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jon Drews List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2005 02:39:10 -0000 On 5/8/05, 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: HP ENHANCED > PCL5,PJL > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ppi0: 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