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

Re: magicfilter and a2ps



>Alberto Maurizi (alberto@alice.fisbat.bo.cnr.it):
> 
> 	Does anybody use a2ps in magicfilter as the default for
> 	plain text? (e.g. to avoid waste of paper, save forests
> 	... and get nicer presentation of plain text ...)
>  
> 	If so, how could the filename and username
> 	be printed in the a2ps formatted page?
> 
> 	I tried using 
> 
> default                 pipe    /usr/bin/a2ps -o -
> 
> 	but I obtain "stdin" for file name and "lp" for user ("Printed
> 	by ..").
> 

I use:

default   pipe    a2ps -q -M A4dj --borders=0 --header="Printed by  
$LPUSER at $LPHOST" --center-title="$LPJOB" -2 -o -

without a linebreak.

HTH, Ramin


Reply to: