Setup Dialog

This Page Setup dialog allows you to select the printer, and specify a small number of the most basic page setup attributes -- Paper Size and Source, Page Orientation, and Page Margins.  The dialog contains a scaled page image which is immediately updated to reflect changes to any of the page attributes.

The Page Orientation panel includes options for the reverse orientations.  When using this dialog in your application, you have the option to display it without the reverse orientations.

The Page Margins panel provides four spinner controls that can be used to specify the four page margins.  You can specify that the margins should be uniform (the same on all four sides).  Additionally, you can specify that the smallest margins supported by the selected printer should be used.

Any changes you make on this dialog are saved in the Print Attribute Set when the OK button is pressed.  When the dialog is subsequently redisplayed, the values in the Attribute Set are loaded into the dialog controls.

Figure 1: Setup Dialog.
Press the Display Dialog button () in the toolbar above to display this dialog.