Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Printing source code on Windows [closed]

Tags:

What is the best Windows program to print out source code (more generally, text files)? I'd like the following features:

  1. Includes line numbers
  2. Option of printing 2 or 4 pages on a single sheet of paper.
  3. Header includes filename and timestamp.
like image 220
Greg Avatar asked Aug 21 '09 14:08

Greg


3 Answers

Notepad++ is an excellent tool for this (and it's free!). You can print the code out both in normal text, as well as marked-up with colour as you see it on the screen!

like image 168
Breakthrough Avatar answered Sep 30 '22 04:09

Breakthrough


I tried the suggested Notepad++ and Codex, but I find them too limiting. I could not print two columns per sheet in either one of them. I like to maximize the amount of code per sheet. A decade ago I would use pcps to print multiple columns of source code, but that software is just too old and cumbersome in this day and age. For now, I would suggest this, if you want multi column output: http://www.lerup.com/printfile/

like image 45
Bram Avatar answered Sep 30 '22 02:09

Bram


UltraEdit works pretty well for all three of those.

www.ultraedit.com

like image 25
RiddlerDev Avatar answered Sep 30 '22 04:09

RiddlerDev