| James B. Hiller on Wed, 20 Feb 2002 05:20:05 +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 18-Feb-02 James B. Hiller wrote:
> >> In the apsfilter script (about line 454), change the following
> >> line:
> >> : ${A2PS_BASIC:---delegate=no -X iso1 -g}
> >> to
> >> : ${A2PS_BASIC:=--delegate=no -X iso1 -g}
> >
> > I made the change shown above in /usr/local/share/apsfilter/bin/apsfilter,
> > and I double-checked /usr/local/etc/apsfilter/apsfilterrc. I don't know
> > of any other places to be looking (far as I know, I have never explicitly
> > configured a local apsfilterrc, certainly not with 7.2.1, and I think I've
> > cleaned out whatever remained from 5.2.0).
>
> Which version of a2ps are you using? (Our options are based
> on 4.13b.) Maybe you are even using mpage or enscript, so that
> change had no effect at all...
Oops. Forgot to include that.
jhiller@bassett:~$ a2ps --v
GNU a2ps 4.13
Written by Akim Demaille, Miguel Santana.
Copyright (c) 1988-1993 Miguel Santana
Copyright (c) 1995-2000 Akim Demaille, Miguel Santana
> 5.2.0 is rather old (it's even before my time with apsfilter),
> so I have no idea what might have been going on there...
For what it might be worth: while no script king, I printed and reviewed
the salient parts of 5.2.0 (apsfilter and the rc, unmodified except for
specifying 'letter' vice 'A4'). Since I knew this to be a print format
matter, my own conclusion stopped me at the call to, and general environment
state leading to the call to, a2ps. So I figured that call was the branch
to the problem, but I don't know enough detail about all the code leading
up to that to understand how to fix the issue.
> > Reading apsfilterrc, it doesn't look like anything is going on in there
> > to override the line in the filter.
>
> Correct, the default apsfilterrc doesn't override any option
> at all.
Glad I figured that right. And, as said, same in 5.2.0, except that I
did manually set it for letter.
> I think it would be best if you'd create a debugging log file
> of one printing attempt, just to see what exactly is going on.
> Basically you do "aps2file -D 2>log.txt >/dev/null yourfilename"
> (the handbook has more info on this) and post "log.txt" here.
I don't know how to do this. Recall that I noticed the behavior change
in the printing of email. In particular, am using elm as the MUA. So of
course elm is generating the print job, not me, and I don't know how to
wrap this invocation you give around the act of elm sending the print for
handling.
What I did do was to capture the state of /var/spool/lpd/lp at the time
of print queuing. It contained the following files:
acct cfA018bassett dfA018bassett errs6Yg8mL lock log status
and the contents of each non-empty file (cfA018bassett, dfA018bassett,
errs6Yg8mL, and lock) are attached (didn't include 'status' as its contents
were the usual "lp ready and printing").
> Please use the same apsfilter options (-Z/-C) for aps2file as
> well, if any.
If you can tell me how to do what you suggested above with elm as the
print requestor, please let me know.
One last item: I'd never seen lpr come up with the host name as part of
the temp file name in the spool. Maybe this is part of what is going
wrong (when you cross-correlate with the errs file, one sees that my host
name is being interpreted as an option to apsfilter. I have no clue what
would be causing this to happen.
thx,
jbh
From: "Michael Raspuzzi" <raspuzzi@msn.com> To: <Undisclosed-Recipient:;@imap.visi.net;> Subject: Top 10 Signs Your Olympic Event is Fixed Date: Thu, 14 Feb 2002 13:54:29 -0500 > #9 would get (some) men to watch figure skating...! > > >From the February 13 Late Show with David Letterman, the "Top Ten Signs Your Olympic Event is Fixed." Copyright 2002 by Worldwide Pants, Inc. > > > >10. Medal ceremony takes place before the event > >9. In the middle of your figure skating routine, you're run over by the Zamboni > >8. You see five heads in the four-man bobsled > >7. Instead of scores, the P.A. system announces bribes given to judges > >6. Event judged by former Enron CEO Kenneth Lay > >5. You hear the Child of Light wants you to take a dive or else > >4. You see six judges and a figure skater check into a Holiday Inn > >3. It's curling, and everyone knows curling is controlled by the mafia > >2. You lose to this... [old black and white video of a women skating in a bird outfit] > >1. For some reason, it's being promoted by Don King > >
apsfilter warning: unknown option 'bassett'
1237 cfA018bassett
Hbassett Pjhiller Jstdin Cbassett Ljhiller fdfA018bassett UdfA018bassett N