From owner-freebsd-questions Fri Oct 24 07:07:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id HAA21296 for questions-outgoing; Fri, 24 Oct 1997 07:07:00 -0700 (PDT) (envelope-from owner-freebsd-questions) Received: from friko.onet.pl (friko.onet.pl [194.204.188.29]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id HAA21286 for ; Fri, 24 Oct 1997 07:06:54 -0700 (PDT) (envelope-from potok@friko.onet.pl) Received: from ovita.free.box (rap-cen164.opole.tpnet.pl [194.204.146.164]) by friko.onet.pl (8.8.4/8.8.4) with SMTP id NAA25617 for ; Fri, 24 Oct 1997 13:57:25 +0200 Message-ID: X-Mailer: XFMail 1.0 [p0] on FreeBSD MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_=XFMail.1.0.p0.FreeBSD:971024142036:723=_" Date: Fri, 24 Oct 1997 14:03:28 +0200 (CEST) Organization: Ovita Nutricia Poland From: Mariusz Potocki To: questions@FreeBSD.ORG Subject: Network printing problem. (staircase & ff effects) Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk This message is in MIME format --_=XFMail.1.0.p0.FreeBSD:971024142036:723=_ Content-Type: text/plain; charset=iso-8859-2 I have DeskJet 540 printer attached to HP JetDirect EX Plus printserver on our local LAN. In /etc/printcap (see attachment) I have path to hpif input filter. hpexp is a host name for printserver in /etc/hosts. In filter are only lines that should convert LF to CR+LF, but when I try to prin t something, I have to push FF button on the printer and I'm getting printout wi th "staircase" effect. cat /usr/local/libexec/hpif #!/bin/sh printf "\033&k2G" && cat && exit 0 exit 2 hpif has mode 0777, so what I'm doing wrong? Mariusz "verba volant, scripta manent" --_=XFMail.1.0.p0.FreeBSD:971024142036:723=_ Content-Disposition: attachment; filename="hpif" Content-Transfer-Encoding: base64 Content-Description: hpif Content-Type: application/octet-stream; name=hpif; SizeOnDisk=174 IyEvYmluL3NoCiMKIyBocGlmIC0gUHJvc3RhY2tpIGZpbHRyIHdlanNjaW93eSBkbGEgZHJ1a2Fy ZWsgSFAKIyBaYWluc3RhbG93YW55IHcgL3Vzci9sb2NhbC9saWJleGVjL2hwaWYKIwojIFphbWll bmlhIExGIG5hIENSK0xGCnByaW50ZiAiXGZcMDMzJmsyRyIgJiYgY2F0ICYmIGV4aXQgMApleGl0 IDIK --_=XFMail.1.0.p0.FreeBSD:971024142036:723=_-- End of MIME message