How do you set the document to the size and orientation
of the printer? I know how to do it using the C method,
but I looked for a MFC way and found the there is a
function associated with a view called view::OnPrepareDC
which returns a pointer to a CPrintInfo object. This object
contains a variable for the effective page size.
If you use the old technique, of CreateIC, to get the page size
of a printer, will this confort to what the view thinks it is at
print time?
As the document is created before the view, can you set the document
size after the fact?
thank you
Mark Gregory Lecturer m.gr...@rmit.edu.au PH(03)6603243 FAX(03)6621060
Royal Melbourne Institute of Technology,
Department of Communication and Electronic Engineering,
P.O. Box 2476V, Melbourne, Victoria, 3001. AUSTRALIA.
--
Mark Gregory Lecturer m.gr...@rmit.edu.au PH(03)6603243 FAX(03)6621060
Royal Melbourne Institute of Technology,
Department of Communication and Electronic Engineering,
P.O. Box 2476V, Melbourne, Victoria, 3001. AUSTRALIA.