Kunal Shah <kunal@xxxxxxxxxxxxxx> writes: > Hi, > > I want to print colour formatted output in my program using gcc. > Would u pls tell me how can i achieve it ? Color printing is not part of gcc, and is therefor off-topic here. You must use a third-party library. I suggest you search via www.gnu.org/software, savannah.gnu.org, sourceforge.net, google.com, etc. For printing color text on the console, see ncurses at http://www.gnu.org/software/ncurses/ and aalib at http://sourceforge.net/projects/aa-project/ For printing to a color printer, you are on your own.