From owner-freebsd-questions@FreeBSD.ORG Fri Oct 21 00:36:23 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 15B5E16A41F for ; Fri, 21 Oct 2005 00:36:23 +0000 (GMT) (envelope-from alejandro@varnet.biz) Received: from relay03.pair.com (relay03.pair.com [209.68.5.17]) by mx1.FreeBSD.org (Postfix) with SMTP id 9573043D5A for ; Fri, 21 Oct 2005 00:36:22 +0000 (GMT) (envelope-from alejandro@varnet.biz) Received: (qmail 59960 invoked from network); 21 Oct 2005 00:36:20 -0000 Received: from unknown (HELO phobos.mars.bsd) (unknown) by unknown with SMTP; 21 Oct 2005 00:36:20 -0000 X-pair-Authenticated: 200.115.214.28 Date: Thu, 20 Oct 2005 21:36:44 -0300 From: Alejandro Pulver To: Mike Jeays Message-ID: <20051020213644.01549564@phobos.mars.bsd> In-Reply-To: <1129774499.722.79.camel@chaucer.jeays.ca> References: <20051019210103.75ebd048@phobos.mars.bsd> <1129774499.722.79.camel@chaucer.jeays.ca> X-Mailer: Sylpheed-Claws 1.9.12 (GTK+ 2.6.8; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Epson Stylus C65 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Oct 2005 00:36:23 -0000 On Wed, 19 Oct 2005 22:14:59 -0400 Mike Jeays wrote: > I had a good bit of trouble with the very similar C86. Google for the > DeviceModel parameter values if these don't work with a C65. You need > to install ijsgimpprint, of course. At present, my etc/printcap file > says: > > lp|C86:\ > :lp=/dev/unlpt0:\ > :lf=/var/log/lpd-errs:\ > :if=/home/mike/bin/C86-filter:\ > :sd=/var/spool/lpd:\ > :mx#0\ > :sh: > > and my home-grown filter contains: > #!/bin/sh > > TMP=/tmp/C86.tmp > PS=/tmp/C86.ps > > cat >$TMP > ch1=`head -1 $TMP | cut -c 1` > if [ "$ch1" = '%' ] > then > # echo "Postscript" > cat $TMP >$PS > else > # echo "Text" > /usr/local/bin/enscript -B -q -p - $TMP >$PS > fi > > # InkType=CMYK, RGB are valid > cat $PS | /usr/local/bin/gs -sDEVICE=ijs \ > -sIjsServer=/usr/local/bin/ijsgimpprint \ > -sDeviceManufacturer=EPSON \ > -sDeviceModel=escp2-c84 \ > -sIjsParams=Quality=720x360sw,InkType=CMYK,MediaType=Plain \ > -dIjsUseOutputFD \ > -q \ > -dNOPAUSE \ > -dBATCH \ > -sOutputFile=- - > > # MUST delete them, or subsequent jobs may have trouble > rm -f $TMP,$PS > > > This is not what you would call polished software - the minute I got > it to work, I stopped fiddling with it. It does at least do the job. > Hello, Thank you for your reply. I tried your filter (most times by doing it manually), but I can't get it working. I tried "ijs" and "stp" (Gimp-print), and many Cxx printer versions. BTW the script you are using is very similar (if not equal) to the command "apsfilter" calls (that is "gs") at the end. I only get some "<