I think I have figured out why this bug has popped up again.  It is
actually a new variant of the bug which in all likelihood has been
lurking for years.

The problem is in etc/a2ps-cfg.in, line 433:

Variable: lp #{lp.hook} a2ps-lpr-wrapper #{lp.options} @LPR_QUEUE_OPTION@

See?  the option to a2ps-lpr-wrapper is depending on the printer
system installed on the compiling machine!

(I figured it out when I tried to compile the newest version on my own
system - it worked like a charm!  So I had to look into differences in the
configuration files.)

The line should be changed to

Variable: lp #{lp.hook} a2ps-lpr-wrapper #{lp.options} -d

because the wrapper script *always* takes -d option - then changes it to
-P option depending on printing configuration on the run-time machine.

best regards

--
Peder Chr. Nørgaard             Senior System Developer, M. Sc.
Ericsson Denmark A/S, Telebit Division
Skanderborgvej 232              tel: +45 30 91 84 31
DK-8260 Viby J, Denmark         fax: +45 89 38 51 01
        e-mail: [EMAIL PROTECTED]
(old e-mail 2000-2003: [EMAIL PROTECTED])
         (old e-mail 1992-2000: [EMAIL PROTECTED])

Reply via email to