From owner-freebsd-questions Tue Apr 2 03:06:22 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA05870 for questions-outgoing; Tue, 2 Apr 1996 03:06:22 -0800 (PST) Received: from nixpbe.pdb.sni.de (mail.sni.de [192.109.2.33]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id DAA05823 for ; Tue, 2 Apr 1996 03:06:13 -0800 (PST) Received: (from nerv@localhost) by nixpbe.pdb.sni.de (8.6.12/8.6.12) id LAA14474 for freebsd-questions@FreeBSD.ORG; Tue, 2 Apr 1996 11:30:20 +0200 Message-Id: <199604020930.LAA14474@nixpbe.pdb.sni.de> Subject: Re: Laser Printers To: gpalmer@FreeBSD.ORG (Gary Palmer) Date: Tue, 2 Apr 96 8:29:24 MET DST From: Greg Lehey Cc: steve@aries.bbcc.org, freebsd-questions@FreeBSD.ORG In-Reply-To: <1522.828074144@palmer.demon.co.uk>; from "Gary Palmer" at Mar 29, 96 4:35 am X-Mailer: xmail 2.4 (based on ELM 2.2 PL16) Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Steve Prentice wrote in message ID > : >> I am having difficulty setting up a HPLJII on my system. I have a >> regular line printer (dot matrix) set up and working fine, but my Laser >> Printer just spits out blank pages win I print to it. What changes do I >> need to make to the default printcap entry to get my HPLJII to work fine? > > The HP series have a warped view of the world (thanks to Microsoft) > and need CR/LF combinations to work properly, which of course you > don't get under UN*X-like OS's. The blank pages happen 'cos all the > text has scrolled off the right hand side of the page. To be fair to HP, this applies to all printers I know. The original definitions of CR and LF are: Carriage return: return the carriage (print head) to the left margin. Line feed: rotate the platen one line forward without moving the carriage. UNIX abused LF to mean both functions, which saves space, but is still not correct. All HP LaserJets I know have configurable actions on CR and LF, although I've occasionally had difficulty setting them by menu. What you want is for LF to perform both functions, and CR to be ignored. That way, you can print either from UNIX or from DOG without reconfiguration. Sorry, I don't have a handbook handy, but I'm sure you'll find in the printer handbook. Greg