I like to look at my source code on paper when I am debugging or
evaluating my code. Here's a good way to make printed code look good.
a2ps --columns=1 -R -l99 -C myfile.pl
It will also fontify and format the code. I know it understands perl,
and I am sure it understands C.
a2ps requires that your printer be capable of printing postscript or
that you have ghostscript installed (most people do). For more details
regarding a2ps options type:
a2ps --help | less
brian
-- Brian Lavender http://www.brie.com/brian/ **************************************************************************** * To UNSUBSCRIBE from the list, send a message with "unsubscribe lug-nuts" * in the message body to majordomo@saclug.org. Please direct other * questions, comments, or problems to lug-nuts-owner@saclug.org.
This archive was generated by hypermail 2b29 : Fri Feb 25 2000 - 14:29:09 PST