My tech notes
What a stupid human remembers, the smart one writes down!
Wednesday, February 27, 2008
Nice code printing with a2ps
a2ps --line-numbers=1 --columns=1 -R -T4 -f5 -o output.ps input.c
Switch
Meaning
line-numbers
turn on/off line numbers
columns
number of columns on the page
R
portrait mode
T4
TAB size is 4 spaces
f5
font size
o string
output file name
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment