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
[-- Attachment #1 --]
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"
[-- Attachment #2 --]
#!/bin/sh
#
# hpif - Prostacki filtr wejsciowy dla drukarek HP
# Zainstalowany w /usr/local/libexec/hpif
#
# Zamienia LF na CR+LF
printf "\f\033&k2G" && cat && exit 0
exit 2
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.971024142600.potok>
