Printing Syntax Highlighting in the Arduino

Hello,

Is there a way to way to print the syntax highlighting that I see on the screen on the Arduino IDE? I only see printing in the default color with spacing. Otherwise is there an alternative Arduino IDE that prints the highlighting that you see on the screen.

Thanks,
Diggee17