Is it compusory to call CPrintInfo::SetMaxPage before starting print????
-
I cannot calculate the exact number of pages to be printed in advance, so I do not call SetMaxPage in OnBeginPrinting(). In this case only 1 page is printed. I tried setting it to maximum(0xFFFF), but still it prints only 1 page. The data(sample) to be printed is clearly more than 5 pages. How do I continue with this? Is setting max page mandatory for printing more than 1 page? Thanks in Advance..
-
I cannot calculate the exact number of pages to be printed in advance, so I do not call SetMaxPage in OnBeginPrinting(). In this case only 1 page is printed. I tried setting it to maximum(0xFFFF), but still it prints only 1 page. The data(sample) to be printed is clearly more than 5 pages. How do I continue with this? Is setting max page mandatory for printing more than 1 page? Thanks in Advance..
The documentation says something about using the
m_bContinuePrinting
member if the max. page is not known.«_Superman_» I love work. It gives me something to do between weekends.
-
The documentation says something about using the
m_bContinuePrinting
member if the max. page is not known.«_Superman_» I love work. It gives me something to do between weekends.