scs1
asked on
Printing a text file with a MFC application
I have a MFC application that when the user selects the menu item <PRINT REPORT> it writes a lot of formatted text to a text file. I want the program to then send the file to the default printer to be printed. How do I do that?
I realize this is not the best way to a print a file with a MFC application. However, I already have the text file formatted and would like to simply print that text file.
I realize this is not the best way to a print a file with a MFC application. However, I already have the text file formatted and would like to simply print that text file.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Forget the previous comment. My problem was related to a printer setup problem with my computer. I have corrected the problem and everything works great. Thank you very much.
ASKER