CONFIGURATION FILES
       Enscript reads configuration information from the following sources (in 
this  order):  command  line  options,
       environment variable ENSCRIPT, user's personal configuration file 
($HOME/.enscriptrc), site configuration file
       (/etc/enscriptsite.cfg) and system's global configuration file 
(/etc/enscript.cfg).


One solution:

> ENSCRIPT= —verbose —media=letter -2 —landscape —borders ….

The personal configuration resides in ~/.enscriptrc and NOT in ~/.enscript.cfg. 
esncript.cfg is the global config and resides in /etc/enscript.cfg

Regards!



> On 16 Sep 2015, at 08:04, rlhar...@oplink.net wrote:
> 
> On Wed, September 16, 2015 12:33 am, p...@aztec.co.za wrote:
>> enscript() { command enscript --verbose --media=letter -2 --landscape
>> --borders --header='$n|A.D. $D{%Y.%m.%d}|$* gmt | Page $% of $=' $@
>> }
> 
> I cut and pasted the above definition into ~/.bashrc and then restarted
> the machine to ensure that .bashrc was being read.  But the only response
> I get is:
> 
> $ enscript howto.enscript
> AFM: scanning path...
> AFM: reading font map "/usr/share/enscript/afm/font.map"
> processing file ""...
> 
> What did I do wrong?
> 
> RLH
> 
> 
> 
> 
> 

Reply via email to