jef moskot on Sat, 2 Sep 2000 08:17:01 +0200 (CEST)


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: apsfilterrc multi-page/portrait/landscape config


Michael Loßin wrote:

> So "2l" is now used as the default by setting
> 	PS_NUP=2
> 	LANDSCAPE=set
> 
> or by the class options, e.g.
> 	lpr -C 2pps:landscape <somefile>
> 
> But beware, if you use the config variables in apsfilterrc, _all_
> printouts will use 2 pages per sheet and landscape mode, so the class
> options are probably safer to use.

As you said, the PS_NUP/LANDSCAPE option doesn't really help us because we
want regular text to be printed 2-to-a-page, but PostScript files printed
normally.

Our users are also pretty unsophisticated, so getting them to type in that
Class business isn't an ideal solution either.  We can't alias it to lpr,
because then we've got the same problem.

I believe the way we had it last time (pre-version-6) had the effect of
passing parameters to a2ps and leaving all else alone.

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'

Perfect.

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?

Jeffrey Moskot
System Administrator
jef@math.miami.edu