2008-09-16

Use enscript to generate pretty HTML and PostScript output

Create HTML output with TOC(Table of content) and syntax highlighting of Java files.

enscript -E --color -Whtml --toc -pNotepad.html *.java
Generate PoscScript output with TOC and syntax highlighting of Java files.
enscript -E --color -WPostScript --toc -pNotePad.ps *.java

If you want to get these files printed out from printer, you'd better remove the --color from above.

沒有留言:

張貼留言