From owner-freebsd-questions Wed Oct 27 12:53:54 1999 Delivered-To: freebsd-questions@freebsd.org Received: from mc-qout4.whowhere.com (mc-qout4.whowhere.com [209.185.123.18]) by hub.freebsd.org (Postfix) with SMTP id 4B5E31516F for ; Wed, 27 Oct 1999 12:53:51 -0700 (PDT) (envelope-from charles271828@my-deja.com) Received: from Unknown/Local ([?.?.?.?]) by my-deja.com; Wed Oct 27 12:53:44 1999 To: freebsd-questions@freebsd.org Date: Wed, 27 Oct 1999 12:53:44 -0700 From: " " Message-ID: Mime-Version: 1.0 X-Sent-Mail: off X-Mailer: MailCity Service Subject: HP LaserJet 1100 lpfilter; intermittent errors X-Sender-Ip: 63.195.80.23 Organization: My Deja Email (http://www.my-deja.com:80) Content-Type: text/plain; charset=us-ascii Content-Language: en Content-Length: 1225 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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