TWiki
>
IT Web
>
HintsAndTips
(2016-04-21,
GordonStewart
)
(raw view)
E
dit
A
ttach
---+ Hints and Tips ---++ Linux ---+++ 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 [[http://linuxcommand.org/man_pages/enscript1.html][man page]].
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2016-04-21
-
GordonStewart
IT
Log In
or
Register
IT Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
Webs
ATLAS
PUUKA
DetDev
Gridmon
IT
LHCb
LinearCollider
Main
NA62
Sandbox
TWiki
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback