PRINTOPT

Purpose:

Selects Worksheet elements to be visible on or hidden from printouts.

Syntax:

PRINTOPT(legends, titles, wcaption, wborder, wmargin)

legends

-

Optional. An integer, the legend display flag:

-1:

Keep current setting (default)

0:

Disable

1:

Enable

titles

-

Optional. An integer, the Window title flag:

-1:

Keep current setting (default)

0:

Disable

1:

Enable

titles specifies the text that serves as a Window title that is not displayed in the Window caption area.

wcaption

-

Optional. An integer, the Window caption display flag:

-1:

Keep current setting (default)

0:

Disable

1:

Enable

wcaption specifies the text for the Window number, Window formula and/or Window label in the Window caption area.

wborder

-

Optional. An integer, the outer Window border display flag:

-1:

Keep current setting (default)

0:

Disable

1:

Enable

wborder specifies the outer border outline of each Window.

wmargin

-

Optional. An integer, the inner Window border display flag:

-1:

Keep current setting (default)

0:

Disable

1:

Enable

wmargin specifies the border outline on the inner Window separating the inner Window from the Window plotting margin.

Example:

printopt(1,1,0,0,0)

 

leaves legends and titles in the printouts of the Worksheet, and disables the printing of Window bars, borders, and margins.

 

printopt(-1,-1,1)

 

leaves all the settings as they currently are, and enables the printing of the Window bars.

Remarks:

PRINTOPT and SCREENOPT are particularly useful in formatting the Worksheet display for presentations, demonstrations, printouts, and custom applications. All parameters are optional integer arguments, defaulting to current values. Use -1 to leave a parameter unchanged.

 

Changes made to print options are stored as configuration parameters in the dadisp.ses file, and will be the default settings in the next session.

See Also:

LAYOUT

PRINTING AND PLOTTING FUNCTIONS

PRINT PREVIEW FUNCTIONS

SCREENOPT