How to copy and paste code in color while keeping line numbers using netbeans 7.2.1

I need to print the code for the school. and I would like to keep line numbers from netbeans and the automatic coloring that it does. is there a plugin i could use?

+6
source share
1 answer

If you can use html you can do this:

open the file you need → file → Print to HTML ... → Choose print to file or print to clipboard → check show linenumbers

To print through a printer: file print -> configure print options

+4
source

All Articles