Date: Mon, 02 Mar 1998 17:18:47 +0800 From: Doug Lo <jwlo@ms11.hinet.net> To: Ladislav Kostal <kostal@pefstud.uniag.sk> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: HP690C Message-ID: <34FA7976.148DC0F2@ms11.hinet.net> References: <Pine.BSF.3.96.980301204601.3566B-100000@pefstud.uniag.sk>
next in thread | previous in thread | raw e-mail | index | archive | help
You wrote:
> Hello !
>
> Does anyone have working HP690C under FreeBSD ?
Ladislav,
I'm working HP690C under FBSD and it works fine for me.
The following files that I edited and I hope it works fine for you.
=== /etc/printcap =========
djet|line|hp|lp|HP 690C:\
:sh:sd=/var/spool/lpd/djet:mx#0:\
:lp=/dev/lpt0:\
:if=/usr/local/libexec/hpif:
======================
=== /usr/local/libexec/hpif ======
#!/bin/sh
printf "\033\&k2G" || exit 2
read first_line
first_two_chars=`expr "$first_line" : '\(..\)'`
if [ "$first_two_chars" = "%!" ]; then
/usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=cdj550 -sOutputFile=- -\
&& exit 0
else
echo $first_line && cat && printf "\f" && exit 2
fi
exit 2
==============================
P.S. I'm using Ghostscript5.03.
Hope this helps,
Doug.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34FA7976.148DC0F2>
