Hello, I'm writing a simple application in Visual C++. The application
basically takes in a set of values (of type double and int) and outputs a set
of values. Both the input and output is implemented through dialog boxes
(via the dialogbox function). I wanted to be able to print out the values of
the output to a printer attached to the computer running the application.
Can anyone describe to me how to do this? or if it is a bit more complicated
than that, could someone point me in the right direction? (ie. which
functions i can look up or a link to a tutorial or something) Thanks so much!
David Lowndes - 05 Jan 2005 11:06 GMT
>Hello, I'm writing a simple application in Visual C++. The application
>basically takes in a set of values (of type double and int) and outputs a set
[quoted text clipped - 4 lines]
>than that, could someone point me in the right direction? (ie. which
>functions i can look up or a link to a tutorial or something) Thanks so much!
Have a look at these topics in MSDN:
SDK based project:
"Windows GDI
Printing and Print Spooler"
For MFC project:
"Visual C++ Concepts: Adding Functionality
Printing"
Dave

Signature
MVP VC++ FAQ: http://www.mvps.org/vcfaq