From owner-freebsd-questions@FreeBSD.ORG Fri Oct 21 02:39:04 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 F2FB316A41F for ; Fri, 21 Oct 2005 02:39:03 +0000 (GMT) (envelope-from Mike.Jeays@rogers.com) Received: from smtp100.rog.mail.re2.yahoo.com (smtp100.rog.mail.re2.yahoo.com [206.190.36.78]) by mx1.FreeBSD.org (Postfix) with SMTP id 6CBB943D5A for ; Fri, 21 Oct 2005 02:39:03 +0000 (GMT) (envelope-from Mike.Jeays@rogers.com) Received: (qmail 79912 invoked from network); 21 Oct 2005 02:39:02 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:Subject:From:To:Cc:In-Reply-To:References:Content-Type:Message-Id:Mime-Version:X-Mailer:Date:Content-Transfer-Encoding; b=H7Dl/9xAdRF6VGOSHA0pg/yUvZ5u2mZkGN3Z6VfG7NC7i73M4lakMpne70WLiTBTmCjSSHY12cWDxEp1l1aPPxGY8SclkGnGQv5nQT5aPwJSgOFXNnp/Ea3iwrBTMIAUoIZZ01NfosqlTw272gp4GWrsLHoNivJ+SpLT4VHGTNA= ; Received: from unknown (HELO ?192.168.2.150?) (mjeays2551@rogers.com@24.114.152.139 with plain) by smtp100.rog.mail.re2.yahoo.com with SMTP; 21 Oct 2005 02:39:01 -0000 From: Mike Jeays To: Alejandro Pulver In-Reply-To: <20051020213644.01549564@phobos.mars.bsd> References: <20051019210103.75ebd048@phobos.mars.bsd> <1129774499.722.79.camel@chaucer.jeays.ca> <20051020213644.01549564@phobos.mars.bsd> Content-Type: text/plain Message-Id: <1129862341.1667.9.camel@chaucer.jeays.ca> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Thu, 20 Oct 2005 22:39:01 -0400 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 02:39:04 -0000 On Thu, 2005-10-20 at 20:36, Alejandro Pulver wrote: > 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 "< your problem? > > Also it isn't a connection problem: I tried both USB and Parallel > connections. > > Do you know about anything else I can do? > > Best Regards, > Ale I am not sure what else to suggest. I didn't get a series of characters like "<