A CPrintSetUp
object carries all the information relevant to print setup, and so should exist for the duration of the print operation. The print setup information includes:
the port type
the page margin widths
the header and footer
The print setup additionally has InternalizeL()
and ExternalizeL()
functions. These allow the print setup information to be persisted together with the document with which it is associated.