Search code examples
bashprintingtextmate

How do I print the source code of a bash script (on paper)?


I need to print some Bash script on paper. Any recommendations on how to get a nice output with syntax highlighting and all that?

I've tried TextMate, but the output had huge fonts (and no syntax highlighting, no colors).


Solution

  • I ended up using Bundles > TextMate > Create HTML in TextMate and then printing the HTML.