print and Copy query

 

Hi All,

How do I print a source code file and have the different colors for "Key words", "functions", etc print as is on screen.

When I do  "print preview" it is all the one color. 

I also tried to copy to Microsoft word but it copies as one color.

I have not any problem printing or copying source code from the "Documentation" section on this site and it prints with all the different colours

Your help will be much appreciated.

Bert5 

 
Bert5:

Hi All,

How do I print a source code file and have the different colors for "Key words", "functions", etc print as is on screen.

When I do  "print preview" it is all the one color. 

File>Save as   HTML and then print the HTML
 
RaptorUK:
File>Save as   HTML and then print the HTML


RaptorUk I did as you said and it worked. Much appreciated. This is a great forum.

Bert5 

Reason: