Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Jun 2001 01:21:22 -0500
From:      Mike Meyer <mwm@mired.org>
To:        Wayne Lubin <wayneclubin@yahoo.com>
Cc:        questions@freebsd.org
Subject:   Re: Printer staircase problem
Message-ID:  <15164.7778.841908.731982@guru.mired.org>
In-Reply-To: <46726420@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
Wayne Lubin <wayneclubin@yahoo.com> 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.

	<mike
--
Mike Meyer <mwm@mired.org>			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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15164.7778.841908.731982>