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

[Sheflug] Print formatting



Hi all,

I just typed the following:

cat bin/mailsort.sh | lpr

and it all came out highlighted. syntax in courier, commands in times,
comments italic and environment variable bold. It looks pretty good, and
its easy to read. Just one question then... Is there any way of doing the
same for c/c++ or other languages? I print loads of source code, as I am
trying to teach myself WinNT device driver programming by example (I know,
I know, but I am getting paid, and I think its funny wielding the sword
which can bring down any number of NT machines. HA HA HA HA HAAAA!)

Anyway, a pretty-print of some C source would be lovely! I have many on
screen syntax highlighters, but none for the ol' printer. Perhaps I ought
nip over to sourceforge and start a new project?

Craig Andrews
craig@fishbot.org.uk

- - - - - - - - - - - - - - - - - -
Life would be so much easier if we 
could just look at the source code.
- - - - - - - - - - - - - - - - - -

---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word 
 "unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.