hi,
i am trying to translate characters within the printer interface filterfile
in hpux with the following command:
tr "?????" "\216\231\232\204\224\201\341"
where or how to include this line into the standard remote printer file ?
#!/usr/bin/sh
printer=`basename $0`
if [ ! -x /usr/sbin/rlp ]
then
disable -r"can't execute /usr/sbin/rlp filter" $printer
exit 1
fi
requestid=$1
shift; shift; shift; shift; shift
/usr/sbin/rlp -I$requestid $1
ret=$?
case $ret in
0)
exit 0
;;
*)
reason="error $ret returned"
;;
esac
disable -r"$reason" $printer
exit 1
--
thx,
Erich Pr?hauser