Re:Sublime Text 3.0
by provemewrong on Thursday September 14, 2017 @02:44AM
(#15245479)
IIRC there's a Sublime plugin (obviously) that supports copy pasting formatted code with syntax highlighting. I definitely remember using it at university. Printing to PDF to get syntax highlighting just sounds like an unnecessary step in between.
What I do:
* c/p in a gist
* when looking at the gist, print the page in your browser
* save to PDF
You may want to a look at https://github.com/mplewis/src2png (it was popular on here at the beginning of the week https://news.ycombinator.com/item?id=15220069)
To paper? Never. To PDF? I've printed to pdf to get nice looking formatted code for presentations.
I see print as more a brute force bazooka feature to get nice vector graphics out of apps.