Printing Active Documents
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
I have created an MFC project through AppWizard which supports Active Documents. If I create a new document and insert an existing Word file, all looks fine. However, when I come to print preview, the preview window opens, but the document is actually printed to the printer. I asked a while ago and no-one had any ideas of how to make it work, but I've come up with a few possibilities, and wondered if anyone might be able to help. First possibility is to change the parameters to IPrint::Print() so that it uses the preview screen DC instead of the printer - anyone know how this can be done? The second option is printing to a file, and then viewing the file. Any ideas on how I can view a "Print to File" file on screen? Thanks in advance!