Date: Wed, 29 May 2002 07:43:33 +1200 From: Jonathan Chen <jonc@chen.org.nz> To: gjh292@263.net Cc: freebsd-questions@FreeBSD.ORG Subject: Re: How to Configure a HP Laserjet Printer to Use Message-ID: <20020529074333.A60075@grimoire.chen.org.nz> In-Reply-To: <F60imaDotKRoO1oG0jO00009fd8@hotmail.com>; from gaojhn@hotmail.com on Tue, May 28, 2002 at 06:08:40PM %2B0800 References: <F60imaDotKRoO1oG0jO00009fd8@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, May 28, 2002 at 06:08:40PM +0800, Jianhong Gao wrote: > I've just configured a HP Laserjet 5L to my computer running Freebsd 4.2. > The hardware configuration seems to be ok. But I just don't know how to > print to it. When I run "lptest > /dev/lpt0", the output is just a line of > characters including something untelligible. After setupping > /etc/printcap(without any filter specified) and invoking lpd, "lptest | lpr" > get the same result. When I try to print sth. to it, using "ps | lpr" or > "myls | lpr" or "lpr -r myfile", though the paper is fed in, nothing is > printed. I've consulted quite lots of books as well as handbook listed on > the site, but I still got no idea about how to solve this problem. Is there > some special filter I should use to make my HP laserjet printer work > correctly? If so, what's it and where can I get it? Your problemm is described in the Handbook. It's the staircase effect, since text files contain a newline, whereas the printer requires a carriage-return + newline to print properly. To print standard text files you need a filter. Try the print/apsfilter port. -- Jonathan Chen <jonc@chen.org.nz> ---------------------------------------------------------------------- Experience is a hard teacher because she gives the test first, the lesson afterwards To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020529074333.A60075>