
- #Word for mac 2017 print multiple pages per shet manual
- #Word for mac 2017 print multiple pages per shet code
Copy the OnFilePrint routine and change the print loop to implement banding.

In your CView-derived class, you overload this function so that the message map entry for handling the print command calls your print function. The print loop is implemented in the OnFilePrint function in viewprnt.cpp. In order to manually band, you must re implement the print loop such that OnPrint is called multiple times per page (once per band).
#Word for mac 2017 print multiple pages per shet manual
If the printing in your application must be faster than can be achieved using the standard technique, you must implement manual banding. Unfortunately, this can slow the printing process. Typically the abort procedure allows messages to be processed so that the user may abort the print job using a printing dialog. During this rendering, GDI frequently queries the Abort Procedure to determine if it should continue. When EndPage is called, Windows plays the metafile once for each physical band that the printer requires to print one page. When an MFC application prints using the standard methods, Windows directs all Graphical Device Interface (GDI) output calls to an in-memory metafile. However, there are ways to optimize printing that require significant effort on the part of the developer, and some applications need to add specific user interface elements to the print preview mode.
#Word for mac 2017 print multiple pages per shet code
In most cases, little additional code is required to have a view able to print and preview. MFC provides a complete solution for most printing and print preview needs. This note describes the process of customizing printing and print preview and describes the purposes of the callback routines used in CView and the callback routines and member functions of CPreviewView.

For the latest information, it is recommended that you search for the topic of interest in the online documentation index. As a result, some procedures and topics might be out of date or incorrect. The following technical note has not been updated since it was first included in the online documentation.
