Printing in VC++

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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!
 
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!

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
 
Back
Top