| Michael Loßin on Sun, 10 Mar 2002 13:33:59 +0100 (CET)(envelope-from owner-apsfilter-help@apsfilter.org) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
| Re: Need help restoring an old feature |
On 10-Mar-02 James B. Hiller wrote:
>> Whe using the 5.2.0 release, maybe you want to add
>> "set -x" to the top of apsfilter and print one file.
>> Then there should be a log in the log or status
>> file (see your spooler docs for details).
>>
>> Send that file to the list and we'll see what's going
>> on exactly...
>
> Ok, here is the log file. Let me know if you want me now to
> install 7.2.2 and do the same, to provide a comparison (if I get
> done with dinner soon enough, will probably do it anyway).
> ++ file /tmp/aps_header.3063
> + set -- /tmp/aps_header.3063: news or mail text
> + shift
> + FILE_TYPE=news or mail text
At least the file type is identified correctly, so we get
the right style sheet for a2ps (which is "mail" in this
case).
> + eval a2ps -X iso1 -q -o - -M Letterdj '-b'\''Printed' by jhiller from
> 'bassett'\''' --portrait -1 --no-header --borders=no -Email
> ++ a2ps -X iso1 -q -o - -M Letterdj '-bPrinted by jhiller from bassett'
> --portrait -1 --no-header --borders=no -Email
The new options for a2ps in apsfilter-7.2.2 are:
-g for graphical symbols
--delegations=no to disable delegations
-r when printing landscape
--center-title='...' to display the file name
--prologue=color to adjust the a2ps colors
...=gray for color, grayscale and
...=bw monochrome modes
I'm afraid that "--prologue=bw" produces the same results
for mail files as calling a2ps with no "--prologue"
setting at all (as done in 5.2.0)...
But apsfilter takes "color" as the default mode, thus
adding "--prologue=color" to the a2ps command line.
I think you should get the desired results if you use
the "mono" command line to apsfilter (via "lpr -Zmono"
or "lpr -Cmono"), or (more brutally) by setting the
default color mode for your printer queue to "mono"
in apsfilterrc.
However, almost every application usually has a setting
to adjust the print command to add options etc. You can
also "clone" your default printer and change the
COLOR setting in apsfilterrc, of course, so that you have
two queues: one for color, one for monochrome.
HTH
Michael