From owner-freebsd-questions Sun Nov 10 11:27:34 2002 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 86D2A37B401 for ; Sun, 10 Nov 2002 11:27:32 -0800 (PST) Received: from wonkity.com (wonkity.com [63.93.4.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id C898743E75 for ; Sun, 10 Nov 2002 11:27:31 -0800 (PST) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost.wonkity.com [127.0.0.1]) by wonkity.com (8.12.1/8.11.6) with ESMTP id gAAJRTuF040579; Sun, 10 Nov 2002 12:27:29 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.12.1/8.12.1/Submit) with ESMTP id gAAJRSeq040576; Sun, 10 Nov 2002 12:27:28 -0700 (MST)?g (envelope-from wblock@wonkity.com) Date: Sun, 10 Nov 2002 12:27:28 -0700 (MST) From: Warren Block To: sroberts@dsl.pipex.com Cc: FreeBSD Questions Subject: Re: Printing to Win2K share printer with apsfilter via samba fails In-Reply-To: <1036942247.92273.4.camel@Demon.vickiandstacey.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 10 Nov 2002, Stacey Roberts wrote: > Printer entry created by apsfilter setup in /etc/printcap: > # APS1_BEGIN:printer1 > # - don't delete start label for apsfilter printer1 > # - no other printer defines between BEGIN and END LABEL > hp845c|ijs/DESKJET_845;r=600x300;q=high;c=full;p=a4;m=auto:\ > :lp=/dev/null:\ > :if=/usr/local/etc/apsfilter/basedir/bin/apsfilter:\ > :sd=/var/spool/lpd/hp845c:\ > :lf=/var/spool/lpd/hp845c/log:\ > :af=/var/spool/lpd/hp845c/acct:\ > :mx#0:\ > :sh: > # APS1_END - don't delete this > # That if= line says that every time you try to print through this printer, the input is to be filtered by apsfilter. Since something is apparently wrong with apsfilter, you will not be able to print with this printcap entry. > # tail /var/spool/lpd/hp845c/log > apsfilter: The configuration file > /usr/local/etc/apsfilter/hp845c/apsfilterrc > apsfilter: is missing. Please run SETUP. Okay. So what happens when you run SETUP? > But this file DOES exist: > > # more /usr/local/etc/apsfilter/hp845c/apsfilterrc Possibly a permissions problem? > That's failed big time. I'll try printing with lpr: > > # lpr -Php845c test Won't work--you're just sending more stuff through the same failing input filter. I suggested in an earlier response that it would be good to get basic text printing working before trying one of the "big filter" packages like apsfilter. I think I even posted a printcap entry that would work. What happens when you try that? -Warren Block * Rapid City, South Dakota USA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message