Why would you want to print each and every line with a different font size and style?
If you really want to mess with it that way, you should just import your cpp source file into Word or Open Office Writer (or whatever you use, WordStar, etc) and apply your styles for each line, then print it.
Alternately, you could write a program to read the source file and draw it using the Win GDI drawing functions and print the resulting canvas.
I was wondering if there is a way of formatting the output that I send to the console. I know about some of the justifications and precision formatting, but what about changing fonts or adjusting font size?
Well, technically it is possible, but only by cheating (by drawing directly on the console's DC). If you are interested in a silly hack like that then go for it. But it takes a bit of effort to keep the illusion alive.
I'm not sure whether the Win32 console supports the old EGA/VGA alternate character set feature... but that is another possibility.
In every real sense, just consider that you cannot have control over things like that in a console application. You need to draw to a canvas using the normal GDI functions.