From owner-freebsd-questions Mon Mar 2 02:20:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA17792 for freebsd-questions-outgoing; Mon, 2 Mar 1998 02:20:58 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from ms11.hinet.net (root@ms11.hinet.net [168.95.4.11]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA17773 for ; Mon, 2 Mar 1998 02:20:51 -0800 (PST) (envelope-from jwlo@ms11.hinet.net) Received: from ms11.hinet.net (h200.s154.ts.hinet.net [168.95.154.200]) by ms11.hinet.net (8.8.8/8.8.8) with ESMTP id RAA01760; Mon, 2 Mar 1998 17:24:14 +0800 (CST) Message-ID: <34FA7976.148DC0F2@ms11.hinet.net> Date: Mon, 02 Mar 1998 17:18:47 +0800 From: Doug Lo X-Mailer: Mozilla 4.04 [en] (X11; I; FreeBSD 2.2.5-RELEASE i386) MIME-Version: 1.0 To: Ladislav Kostal CC: freebsd-questions@FreeBSD.ORG Subject: Re: HP690C References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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