a2ps
[Top][All Lists]
Advanced

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

a2ps 4.13 "Options: --medium= " in a2ps.cfg is beeing ignored


From: Bernd Prager
Subject: a2ps 4.13 "Options: --medium= " in a2ps.cfg is beeing ignored
Date: Fri, 6 Dec 2002 19:43:17 -0500

Hi,
I'm using a2ps 4.13 on RedHat 7.2, kernel 2.4.20.
 
I installed an OfficeJet and had to adjust my medium.
(I never did that before, so I can't say if my troubles are version related.)
 
When I invoke the new medium via command line it's working perfectly.
I set the same medium in my a2ps.cfg file, but here it's getting 
completely ignored. I tried both "Options: --medium=OfficeJet" and "Options: -M OfficeJet".
 
Yes, the definition of Medium happens before the "Options: --medium" line.
And no, there's no other a2ps.cfg or a2psrc file on my system or any environment
variable A2PS_CONFIG.
 
This is, how the relevant parts of my a2ps.cfg look like:
 
------ snip ----------------
#################################################################
# 1)        Definition of some media            #
# (Must be defined before --medium)             #
#################################################################
# Medium: name, width height [llx lly urx ury]
Medium: A3      842    1190
Medium: A4      595     842
...
Medium: OfficeJet   612 792 24  10  588 752
 

#################################################################
# 2)    Path to the a2ps resource               #
#################################################################
# Default path where a2ps dropped its library files.
LibraryPath: ...
 
#################################################################
# 3)    Default settings                    #
#################################################################
# OfficeJet format
Options: --medium=OfficeJet
 
# Two virtual pages per sheet
Options: -2
...
------ snip ----------------
 
Is this a bug or do I miss something here?
Thanks a lot for help,
-- Bernd

--
"When dealing with the insane, the best method is to pretend to be sane."
  - Hermann Hesse

reply via email to

[Prev in Thread] Current Thread [Next in Thread]