I want to print an entire directory of text files to a printer inserting the file name at the top of the first page of each file that is printed. A bash or openoffice script would serve me well. Thanks
views:
162answers:
1
+1
A:
GNU a2ps is nice for this (provides options for multiple pages per sheet, etc.) It can even syntax-highlight source code if you want.
David Winslow
2009-10-18 00:43:01
I will have a look at a2ps. Thanks for the recommendation.
Ned Bright
2009-10-18 01:19:12
a2ps led me to enscript which does the job with this line:enscript -DDuplex:true -X ascii -PHP4200 *Thanks, Ned.
Ned Bright
2009-10-19 18:50:50