From owner-freebsd-questions Thu Jun 28 23:21:26 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-27-141-144.mmcable.com [24.27.141.144]) by hub.freebsd.org (Postfix) with SMTP id 6548237B405 for ; Thu, 28 Jun 2001 23:21:23 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 48258 invoked by uid 100); 29 Jun 2001 06:21:22 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15164.7778.841908.731982@guru.mired.org> Date: Fri, 29 Jun 2001 01:21:22 -0500 To: Wayne Lubin Cc: questions@freebsd.org Subject: Re: Printer staircase problem In-Reply-To: <46726420@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Wayne Lubin types: > My printer is the HP DeskJet 672C and I am getting the > staircase problem with freebsd. I have tried using > the filter suggested in the handbook troubleshooting > section > > #!/bin/sh > printf "\033&k2G" && cat && printf "\033&l0H" && exit > 0 > exit 2 > > and I have also tried the lpf text filter provided > with freebsd. And neither worked. Just wondering if > someone knows of a text filter I could use, or maybe > give me suggestions on what a shell script should > include to solve this problem. Thanks! Hmm - magicfilter uses "\033&k2g(ON" to enable unix newline mode on deskjet printers. You might give that sequence a try in the script above. You can also test these sequences without going through the lpd by just sending the output to /dev/lpt0 (or /dev/ulpt0, or whatever it's attached to). If that works bu tthe script you've got doesn't, then the problem is probably in your /etc/printcap. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message