After calling SetPrintParams, the printer object calls GetDialogInfo.
GetDialogInfo retrieves user page-range information from the printer dialog box. It can also be used to calculate the total number of pages based on page-size information calculated by SetPrintParams.
See Also