DLGPRTSETUP Command: Windows

Opens the Print Setup dialog box or programmatically sets printer settings.

Windows specifics: all


Optional Arguments


sets the default page orientation for the current printer. The orient parameter is to support backward compatibility of SAS. The preferred method to specify the orientation is with the ORIENTATION system option.


suppresses the display of the Print Setup dialog box. This option is intended to be used only when you use other options to explicitly set printer settings.


The Print Setup dialog box enables you to name the printer to which you want to print, specify that you want to use SAS forms to be printed, and to access dialog boxes that control how SAS prints information, such as paper orientation, margins, and fonts.