Enhancing Printing
Scribble: MDI Drawing Application, Lesson 9
Tip If you prefer working from a printed tutorial, see in MSDN Library Help for details about printing a lesson, a set of topics, or a single topic.
Suggested Reading in the Visual C++ Programmer’s Guide
Scribble has supported printing and print preview since Lesson 4, Creating the View, when you first added application-specific code to the starter files created by AppWizard. None of the code you added dealt specifically with printing.
In this lesson, you will improve Scribble’s current printing support. As it is now, the printed image is smaller than you might like, and the printed image is very plain. It doesn’t include a header or footer. This lesson describes how to enlarge the printed image and implement printing enhancements in your application.
This lesson covers the following topics:
This lesson, Step 5 of Scribble, begins with the files you generated in Step 4. These files should closely resemble those in the Scribble/Step4 subdirectory.
Note You can find a finished example of this lesson's code in the Scribble Step5 sample source code directory.