Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Oct 1997 14:03:28 +0200 (CEST)
From:      Mariusz Potocki <potok@friko.onet.pl>
To:        questions@FreeBSD.ORG
Subject:   Network printing problem. (staircase & ff effects)
Message-ID:  <XFMail.971024142600.potok@friko.onet.pl>

next in thread | raw e-mail | index | archive | help
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



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