Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to copy and paste code, in color, keeping line numbers, using netbeans 7.2.1

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

like image 368
user2081238 Avatar asked Feb 17 '13 20:02

user2081238


1 Answers

If you can use html you can do this:

open the file you need -> file -> Print to HTML ... -> Select print to file or print to clipboard -> check show linenumbers

For printing via printer: file -> print -> customize at print options

like image 197
ollo Avatar answered Oct 16 '22 05:10

ollo