problem: printing multiple pages
-
I'm a novice using VC++6 and speaking and writting english too, so excuse me if I ask something too easy or in an incorrect way. I would like to print more than one page using MFC, and when I've detected the end of the current page I don't know how to tell VC++ that must begin another one. Thank you in advance JCpp.
-
I'm a novice using VC++6 and speaking and writting english too, so excuse me if I ask something too easy or in an incorrect way. I would like to print more than one page using MFC, and when I've detected the end of the current page I don't know how to tell VC++ that must begin another one. Thank you in advance JCpp.
You must set up CPrintInfo Class. It has a Method called SetMaxPage that would set up the number of pages you want to print. Then you can use the following loop to print CDC dc; // Printer dc obtained from Print Dialog CPrintInfo info; // Printer info class For(page=Info.GetMinPage();page