Michael Loßin on Fri, 1 Sep 2000 13:05:27 +0200 (CEST)


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

Re: apsfilterrc multi-page/portrait/landscape config


jef moskot schrieb:
> 
> Howdy.
> 
> I recently installed apsfilter-6.0.0 on a FreeBSD-4.1 machine.
> 
> In the /etc/apsfilter/apsfilterrc file, it says the following regarding
> the above topic:
> 
> ##############################################################################
> # (8)   Customize ASCII print style (a2ps and mpage)
> #       select from these predefined printing styles
> ##############################################################################
> # Description
> # -----------
> # 1    print portrait,  1 page  per sheet
> # 2    print portrait,  2 pages per sheet
> # 4    print portrait,  4 pages per sheet
> # 8    print portrait,  8 pages per sheet
> # 1l   print landscape, 1 page  per sheet
> # 2l   print landscape, 2 pages per sheet
> # 4l   print landscape, 4 pages per sheet
> # 8l   print landscape, 8 pages per sheet
> #
> # Default is
> # 1 page per sheet, no header, no borders
> # if you want borders, simply remove '#' below...
> 
> #ASCII_HEADER=set
> #ASCII_BORDER=set
> 
> ##############################################################################
> 
> So, I see that I'd like the "2l" option...but what do I do?
> 
> Is there some environment variable that isn't mentioned?

I know, the documentation _really_ isn't up-to-date.

There once was a variable ASCII_STYLE that used these values, but it has
been dropped in favour of PS_NUP and LANDSCAPE.

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.


Michael