Subject: pkg/7795: magicfilter-1.2's settings don't work with a2ps-4.10.3
To: None <gnats-bugs@gnats.netbsd.org>
From: None <cgd@netbsd.org>
List: netbsd-bugs
Date: 06/16/1999 16:22:52
>Number:         7795
>Category:       pkg
>Synopsis:       magicfilter-1.2's settings don't work with a2ps-4.10.3
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 16 16:20:01 1999
>Last-Modified:
>Originator:     Chris Demetriou
>Organization:
>Release:        NetBSD 1.4
>Environment:
NetBSD 1.4 on alpha, i386, arm32 (you really
don't need the uname -a output 8-)

>Description:
the magicfilter package (v 1.2) invokes a2ps when formatting text for
PostScript printers.  it does so by running:

/usr/pkg/bin/a2ps  -p -nh -nn -f12 -b

unfortunately, the current a2ps package (v 4.10.3) doesn't
seem to understand the -p. -nh, or -nn, arguments.  Reading the
a2ps manual page, it's not even clear what was intended by them, and
invoking a2ps with them as arguments gives an "invalid option" error.
>How-To-Repeat:
install magicfilter, a2ps, and configure a PostScript printer
which doesn't handle text directly (i.e. that causes magicfilter
to invoke a2ps to format the text into PostScript).  Debug the
resulting non-operation.

Alternately, read the magicfilter filter scripts and try to run
a2ps with the arguments used in those scripts.

>Fix:
get rid of the -p, -nh, and -nn arguments to a2ps in the magicfilter
scripts (and presumably notify the magicfilter software's author
of the problem so that the right thing can happen in the magicfilter
master sources).
>Audit-Trail:
>Unformatted: