RE: Unable to set up LPD to use a HP Laserjet 5p in freeBSD 5.3
Hello All: You guys are great! Three replies, with three issues to look at! It appears the problem was a defective () parallel printer cable. The one I was using didn't have all the pins connected. I replaced it with a new one, and now everything works fine. The cable I had must have been a Microsoft thing ;) The additional suggestions focused on the filter file, and I gained a great deal of insight from these. There were some points on tuning that I hadn't thought of, so these comments will be helpful as well. Thanks to all of you!! On Sun, 8 May 2005 17:48:43 -0700, "Ted Mittelstaedt" wrote: > > > 1) Copy a MSDOS text file to the system (one that > contains ^M^L as each > line terminator) > > 2) cat file /dev/lpt0 > > If the file doesen't come out the printer, it's a > problem with the > parallel post hardware, or the cabling. > > Ted > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Behalf > Of > > [EMAIL PROTECTED] > > Sent: Sunday, May 08, 2005 5:44 PM > > To: freeBSD-questions@freebsd.org > > Subject: Unable to set up LPD to use a HP Laserjet 5p > in freeBSD 5.3 > > > > > > 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: HP ENHANCED > > PCL5,PJL > > lpt0: on ppbus0 > > lpt0: Interrupt-driven port > > ppi0: on ppbus > > > > printcap looks like this: > > > > lp|HP Laserjet 5P:\ > > :sh:\ > > :sd=/var/spool/lpd:\ > > :lf=/var/log/lpd:\ > > :lp=/dev/lpt0:\ > > :if=/etc/lpfilter: > > > > Whenever I try to print to the printer, I get an error > > status on the printer that the owners manual calls a > > "Data Error" (two lights on the panel). The 'Go' > button > > must be pressed repeatedly to get the page to print; > > and it doesn't look complete. I've used several of the > > lpfilters from the ports collection, but none seems to > > work. > > > > Has anyone set up this printer model to work in > freeBSD > > 5.3 and can shed some light on what I have done > wrong? > > > > Any help will be appreciated. Thanks. > > ___ > > freebsd-questions@freebsd.org mailing list > > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to > > "[EMAIL PROTECTED]" > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Unable to set up LPD to use a HP Laserjet 5p in freeBSD 5.3
On 5/8/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 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: 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=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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Unable to set up LPD to use a HP Laserjet 5p in freeBSD 5.3
> 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: HP ENHANCED > PCL5,PJL > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ppi0: on ppbus > > printcap looks like this: > > lp|HP Laserjet 5P:\ > :sh:\ > :sd=/var/spool/lpd:\ > :lf=/var/log/lpd:\ > :lp=/dev/lpt0:\ > :if=/etc/lpfilter: > > Whenever I try to print to the printer, I get an error > status on the printer that the owners manual calls a > "Data Error" (two lights on the panel). The 'Go' button > must be pressed repeatedly to get the page to print; > and it doesn't look complete. I've used several of the > lpfilters from the ports collection, but none seems to > work. > > Has anyone set up this printer model to work in freeBSD > 5.3 and can shed some light on what I have done wrong? You should look at the apsfilter port in /usr/ports/print/apsfilter. It contains all the magic needed to get a LaserJet 5p to work properly. It was the only filter that seemed to do the right thing for me. -- Matt Emmerton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Unable to set up LPD to use a HP Laserjet 5p in freeBSD 5.3
1) Copy a MSDOS text file to the system (one that contains ^M^L as each line terminator) 2) cat file /dev/lpt0 If the file doesen't come out the printer, it's a problem with the parallel post hardware, or the cabling. Ted > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of > [EMAIL PROTECTED] > Sent: Sunday, May 08, 2005 5:44 PM > To: freeBSD-questions@freebsd.org > Subject: Unable to set up LPD to use a HP Laserjet 5p in freeBSD 5.3 > > > 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: HP ENHANCED > PCL5,PJL > lpt0: on ppbus0 > lpt0: Interrupt-driven port > ppi0: on ppbus > > printcap looks like this: > > lp|HP Laserjet 5P:\ > :sh:\ > :sd=/var/spool/lpd:\ > :lf=/var/log/lpd:\ > :lp=/dev/lpt0:\ > :if=/etc/lpfilter: > > Whenever I try to print to the printer, I get an error > status on the printer that the owners manual calls a > "Data Error" (two lights on the panel). The 'Go' button > must be pressed repeatedly to get the page to print; > and it doesn't look complete. I've used several of the > lpfilters from the ports collection, but none seems to > work. > > Has anyone set up this printer model to work in freeBSD > 5.3 and can shed some light on what I have done wrong? > > Any help will be appreciated. Thanks. > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Unable to set up LPD to use a HP Laserjet 5p in freeBSD 5.3
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: HP ENHANCED PCL5,PJL lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus printcap looks like this: lp|HP Laserjet 5P:\ :sh:\ :sd=/var/spool/lpd:\ :lf=/var/log/lpd:\ :lp=/dev/lpt0:\ :if=/etc/lpfilter: Whenever I try to print to the printer, I get an error status on the printer that the owners manual calls a "Data Error" (two lights on the panel). The 'Go' button must be pressed repeatedly to get the page to print; and it doesn't look complete. I've used several of the lpfilters from the ports collection, but none seems to work. Has anyone set up this printer model to work in freeBSD 5.3 and can shed some light on what I have done wrong? Any help will be appreciated. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"