ContentsIndexPreviousNext

WINPRINT-SETUP

This operation code calls the standard Windows Setup Printer dialog box. This allows the user to select which printer to use, the desired page orientation (landscape or portrait), and the desired paper size and source.

Usage

CALL "WIN$PRINTER"
    USING WINPRINT-SETUP
    GIVING RESULT

Description

The runtime internally configures itself based on the selections chosen by the user. These become the settings used during the remainder of the run (or until the next call to this subfunction).


Note that the settings return to their defaults when the runtime exits. When this op-code is performed from the 32-bit runtime, the newer PageSetup dialog box will appear.

Also note that changing the output device with this operation will reset any columns you have set using WINPRINT-COLUMN op-codes.