Michael Loßin on Wed, 20 Feb 2002 11:02:46 +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 20-Feb-02 James B. Hiller wrote:
>> 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.

I'm sure elm has a command to save the message to a file,
but now that you've captured "df..." (data file), just use
that file for aps2file input.

> 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.

Having the host name as part of the temp file name is normal.

The warning about the "unknown option" (the host name) is a
consequence of silly spooler behaviour (they use the host name
as a class specification) combined with our need to support
apsfilter options for really old spoolers (which offer no way
to pass options to the filter, causing us to misuse the class
specification "-C" for that).

Right now you can safely ignore that. If only people would
migrate to LPRng, we could drop that "-C" workaround, but
that would be too easy...


Michael