Printing

HomeOverviewHow Do ISampleTutorial

Microsoft Windows implements device-independent display. In MFC, this means that the same drawing calls, in the OnDraw member function of your view class, are responsible for drawing on the display and on other devices, such as printers. For print preview, the target device is a simulated printer output to the display.

Your Role in Printing vs. the Framework’s Role

Your view class has the following responsibilities:

The framework’s responsibilities are as follows:

The following articles discuss how the framework supports printing and print preview:

What do you want to know more about?