views:

75

answers:

2

I wanted to know if there was a way, or a tool available, to output java source into a pdf that has syntax highlighting available?

+1  A: 

GNU Enscript does what you want. It produces postscript files that can then be converted to PDF.

scompt.com
A: 

If your using eclipse there turns out to be a very nice print functionality where you could to have it output as a file using "Print to File", then specify the type as PDF, Postscript, or SVG.

Traker