| Andreas Klemm on Sat, 2 Sep 2000 10:45:52 +0200 (CEST) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: apsfilterrc multi-page/portrait/landscape config |
On Sat, Sep 02, 2000 at 02:16:51AM -0400, jef moskot wrote:
> I used my brain a tiny little bit and it seems I've solved our problem
> with one simple line in the global apsfilterrc:
>
> A2PS_OPTS='--no-header -2'
Yes, A2PS_OPTS is still valid to overwrite default a2ps options
completely.
*)
find_filter a2ps || fatal_filter a2ps
if [ "$A2PS_OPTS" ]; then
^^^^^^^^^^
print_ps a2ps '$A2PS_OPTS' -q -o -
^^^^^^^^^^
else
[...]
> Strangely, when I try to explicitly tell it to use landscape mode, nothing
> comes out of the printer, but if I take that part out, it always defaults
> to landscape and does exactly what we want.
>
> Best not to arque with it if it's working.
>
> So, does this seem like a reasonable solution, or am I doing something
> stupid here?
I think you used the wrong commandline options, maybe you are still
using old 4.3 syntax ...
Test it with:
a2ps [options] filename | gv -
or
a2ps [options] filename | ghostview -
Then real life test:
a2ps [options] -o - filename | lpr
--
Andreas Klemm Powered by FreeBSD SMP
Songs from our band >>64Bits<<............http://www.apsfilter.org/64bits.html
My homepage................................ http://people.FreeBSD.ORG/~andreas
Please note: Apsfilter got a NEW HOME................http://www.apsfilter.org/