Printer
|
Action
|
---|---|
the Windows default
printer
|
Do not specify the SYSPRINT system option when you start SAS.
|
a specific printer
|
Start SAS with the SYSPRINT system option.
|
the printer specified
in the previous SAS session
|
Start SAS with the PRTPERSISTDEFAULT system option each time you start SAS.
|
sas -sysprintfont="Arial" bold italic named "second-floor";For more information, see SYSPRINTFONT System Option: Windows .
Page Setup Option
|
Description
|
Setting the Option
|
Related System Option
|
---|---|---|---|
Orientation
|
Specifies to print the
page vertically or horizontally.
|
To print the page vertically,
select Portrait.
To print the page horizontally,
select Landscape.
|
ORIENTATION
|
Margins
|
Specifies the amount
of space to leave blank from the top, bottom, left, and right edges
of the paper.
|
Enter the number of
inches in the Left, Right, Top,
and Bottom fields.
|
LEFTMARGIN, RIGHTMARGIN,
TOPMARGIN, BOTTOMMARGIN
|
Paper size
|
Specifies the size of
paper to print. See the table below for a list of some paper types.
|
Click the Size box
and select a paper size.
|
PAPERSIZE
|
Paper source
|
Specifies the source
of the paper, such as a printer tray, envelope or manual feeder, or
specifies to automatically select the paper source.
|
Click the Source box
and select a paper source.
|
PAPERSOURCE
|
From the Print Setup
Dialog Box
|
From the Page Setup
Dialog Box
|
From the Font Dialog
Box
|
---|---|---|
|
|
|
Bitmap Form
|
Print Dialog Box Selection
|
---|---|
Print the active SAS
window
|
Select Print
as bitmap
|
Print the SAS window
|
Select Print
as bitmap
In the Contents
of box, select AWS windows (bitmap).
|
Print the entire screen
|
Select Print
as bitmap
In the Contents
of box, select Entire screen(bitmap).
|
Fill an entire page
with the bitmap
|
Select Force
Bitmaps to fill page
|
dlgprtpreview
in the command bar.
Task
|
Action
|
---|---|
Navigate through the
pages
|
Use Next or Previous
|
Zoom in or out
|
Click Zoom or
the page.
|
Determine the current
page
|
The status bar displays
the current page and total number of pages in the document.
|
Get help
|
Click Help
|
Print the window
|
Click Print
|
Close the Print
Preview window
|
Click Close
|
Key
|
Action in Full Page
Mode
|
Action in Zoom Mode
|
---|---|---|
PgDn
|
Advance to next page
|
Scroll down on current
page
|
PgUp
|
Go back to previous
page
|
Scroll up on current
page
|
Ctrl+PgDn
|
none
|
Scroll right on current
page
|
Ctrl+PgUp
|
none
|
Scroll left on current
page
|
Ctrl+Home
|
Go to first page
|
Go to first page
|
Ctrl+End
|
Go to last page
|
Go to last page
|
ERROR: Unrecognized command FORMNAME
Command
|
Dialog Box
|
---|---|
DLGPRT
|
Print
|
DLGPAGESETUP
|
Page Setup
|
DLGPRTSETUP
|
Print Setup
|
DLGPRTPREVIEW
|
Print Preview
|
filename myfile printer; data _null_; set sashelp.shoes; file myfile; where stores ge 25; put _all_; run;
filename myfile printer altdest='c:\results.dat'; data _null_; set sashelp.shoes; file myfile; where stores ge 25; put _all_; run;
-sysprint "f2hp5"Then, your SAS program might contain the following statements:
filename myfile printer; data _null_; set sashelp.shoes; file myfile; where stores ge 25; put _all_; run;
When to Display the
Print Abort Dialog Box
|
PRTABORTDLGS Value
|
---|---|
Printing either to a
file or to a printer
|
BOTH
|
Never
|
NEITHER
|
Only when printing to
a file
|
FILE
|
Only when printing to
a printer
|
PRINTER
|