From: James Williams on
Hello,

I would like to be able to print from a console application. For example, I
would like to print a list of names, that would normally be printed to the
screen using cout. How can I do this?

Thanks,


From: Alex Blekhman on
"James Williams" wrote:
> I would like to be able to print from a console application. For
> example, I would like to print a list of names, that would
> normally be printed to the screen using cout. How can I do
> this?

You can open the PRN device and sent output to it:

KB23976 - "Sending Output to a Printer"
http://support.microsoft.com/kb/23976

HTH
Alex