Date: Sat, 01 Feb 1997 23:52:04 -0600 From: Randy DuCharme <randyd@nconnect.net> To: Stranger Bone <ben@narcissus.ml.org> Cc: questions@freebsd.org Subject: Re: elimating the staircase problem on an HP DeskJet 400 Message-ID: <32F42B84.167EB0E7@nconnect.net> References: <Pine.BSF.3.91.970201192837.687A-100000@narcissus.ml.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Stranger Bone wrote: < snip > > #!/bin/sh > # > # if-simple - Simple text input filter for lpd > # Installed in /usr/local/libexec/if-simple > # > # Simply copies stdin to stdout. Ignores all filter arguments. > > /usr/bin/tr "[\010]" "[\010\013]" && exit 0 > exit 2 > > And several variations on it, but all I got was either nothing at all > (the printer would feed the paper through but not print anything) or it > would print a single line and no more. I've had no experience with the 400 directly, but this one has worked on all printers that have stairstepped..... #!/bin/sh # # hpif - Simple text input filter for lpd for HP-PCL based printers # Installed in /usr/local/libexec/hpif # # Simply copies stdin to stdout. Ignores all filter arguments. # Tells printer to treat LF as CR+LF. Writes a form feed character # after printing job. printf "\033&k2G" && cat && printf "\f" && exit 0 exit 2 -- Randall D. DuCharme email: randyd@nconnect.net Systems Engineer Free your Machine Computer Specialists **** FreeBSD **** 414-259-9998 414-253-9919 (fax) Turning PCs into Workstations
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32F42B84.167EB0E7>