Adding a PageSetup Dialog Box

The Page Setup dialog box is used to determine the page size and print margins. The maximum page size is restricted by the capabilities of the default printer. For implementation details, look at the source code of the PageDlgform.