MFC Print Engine
Posted on 1998-11-04
I want to print and printpreview using MFC SDI engine. The input file is kind of an excel (spreadsheet) report....with columns and rows....I want my print engine to check for the horizontal overflow of page and to split page at the proper location so that the rest of the document is placed on the next page. Also, at the same time the document (which is spreadsheet report type) contains embeded bitmaps....i want my engine to take care of boundaries (margins)...the bitmap should not be split on two pages....it should be placed on one page.....
In nutshell my print engine should handle:
1. Horizontal overflow of pages.
2. Vertical overflow of pages.
3. Take care the embeded bitmaps.
thanks in advance for reply..it will be quite helpful if someone can give a generic outline of the code....