Enscript, Cygwin, Lpr, ...
I posted an elaborate script for pretty-printing code listings 19 days ago:
On Linux systems, enscript is hooked up directly to the default printer, so a simple command like:
[weiqi@gao] $ enscript Foo.javawill do.
On Windows, I use Cygwin to accomplish what I want. Things are not as automatic as on Linux, ...
I have learned since then that, in Cygwin too, enscript is properly hooked up to the default printer, just like on Linux. So I have thrown away that script, and use the enscript command directly.