Hints and Tips


Printing Source Code

Source code can be printed with coloured syntax highlighting by using enscript. For example. a postscript file can be created from a C++ source file:

$ enscript -E --color -o <TARGET_FILENAME> <SOURCE_FILENAME>

More information can be found on the Linux man page.

Topic revision: r1 - 2016-04-21 - GordonStewart
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback