Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Oct 1999 12:53:44 -0700
From:      "   " <charles271828@my-Deja.com>
To:        freebsd-questions@freebsd.org
Subject:   HP LaserJet 1100 lpfilter; intermittent errors
Message-ID:  <AJLNKHBAJLAACAAA@my-deja.com>

next in thread | raw e-mail | index | archive | help
I have an HP LaserJet 1100 on my FreeBSD box.  It works semi-ok.  Every now
and then it really seems to screw up, printing bogus characters or
mis-aligned output.  Sometimes it skips a blank page in such cases and
manages to get back on track.  If I am trying to print double-sided (odd
side first, then even side on same paper) this really messes things up.

My /usr/local/libexec/lpfilter is right out of the handbook, except that I
am using DEVICE=ljet4 instead of DEVICE=djet500:

    read first_line
    first_two_chars=`expr "$first_line" : '\(..\)'`
    if [ "$first_two_chars" = "%!" ]; then
        exec 3>&1 1>&2
        /usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=ljet4 \
                          -sOutputFile=/dev/fd/3 - \
          && exit 0
        /usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=ljet4 \
                          -sOutputFile=- - \
          && exit 0
    else ...

I confess I don't know why the handbook recommends what look like redundent
calls to gs.  Can anyone help me with this?  Perhaps show me what your
lpfilter looks like for the HP LaserJet 1100?

Thanks!



--== Sent via Deja.com http://www.deja.com/ ==--
Share what you know. Learn what you don't.


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?AJLNKHBAJLAACAAA>