DLGPRTSETUP Command: Windows

Opens the Print Setup dialog box or programmatically sets printer settings.
Windows specifics: all

Syntax

DLGPRTSETUP <ORIENT=PORTRAIT | LANDSCAPE > <NODISPLAY>

Required Arguments

ORIENT=PORTRAIT | LANDSCAPE
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.
NODISPLAY
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.

Details

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 print, and to access dialog boxes that control how SAS prints information, such as paper orientation, margins, and fonts.