From owner-freebsd-questions Tue Jan 2 2: 6:40 2001 From owner-freebsd-questions@FreeBSD.ORG Tue Jan 2 02:06:38 2001 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from smtp1.phx.gblx.net (smtp1.phx.gblx.net [64.208.25.103]) by hub.freebsd.org (Postfix) with ESMTP id 355AB37B400 for ; Tue, 2 Jan 2001 02:06:38 -0800 (PST) Received: (from daemon@localhost) by smtp1.phx.gblx.net (8.11.1/8.11.0.Beta1) id f02A6ba22449 for ; Tue, 2 Jan 2001 03:06:37 -0700 (MST) Received: from genius.bbs1.gblx.net(195.166.5.34) via SMTP by smtp1.phx.gblx.net, id smtpdAAAbTaOFR; Tue Jan 2 03:06:35 2001 Received: from heleops.baggywrinkle.co.uk (dhcp-219.baggywrinkle.co.uk [195.166.68.219]) by genius.bbs1.gblx.net (8.9.3+Sun/8.9.3) with ESMTP id KAA25625 for ; Tue, 2 Jan 2001 10:00:12 GMT Received: (from mark@localhost) by heleops.baggywrinkle.co.uk (8.11.1/8.11.1) id f02A5Qq36312 for questions@freebsd.org; Tue, 2 Jan 2001 10:05:26 GMT (envelope-from mark) Date: Tue, 2 Jan 2001 10:05:26 +0000 From: Mark Bath To: questions@freebsd.org Subject: Problem with apsfilter and a2ps ports Message-ID: <20010102100525.G431@gblx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: mark@heleops.baggywrinkle.co.uk Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi, I'm not sure if this is the right place to share this if not I'm sorry. I have just intsalled a new system with apsfilter and a2ps, and when printing text have found a problem. It seems that the parameters that apsfilter calls a2ps are not compatable. I'm running apsfilter version 6.0.0 and a2ps version 4.3. When I print a file for example the hosts file via lpr /etc/hosts it seems that a2ps calls apsfilter with the following: a2ps -M "$A2PS_PAPERSIZE" -b"Printed by $USER from $HOST" --center-ti tle="$JOB" $A2PS_BASIC -1 --borders=no --no-header -q -o - However the only option that a2ps understands of teh above is the -q... If I modify apsfilterrc as follows... # override the complete a2ps commandline #A2PS_OPTS='-X iso1 -m --borders=yes --prologue=color --highlight-level=heavy' A2PS_OPTS=' ' and apsfilter shell script... if [ "$A2PS_OPTS" ]; then #print_ps a2ps '$A2PS_OPTS' -q -o - print_ps a2ps '$A2PS_OPTS' -q Then printing works fine. I guess this is a problem with the compatability of the two packages. Thanks MB To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message