ContentsIndexPreviousNext

WINPRINT-SET-SETTINGS

This operation code sets the spooler's configuration to match information stored in the specified buffer.

Usage

CALL "WIN$PRINTER"
    USING WINPRINT-SET-SETTINGS
    GIVING RESULT

Description

This buffer must contain the same data returned by an earlier call using the WINPRINT-GET-SETTINGS operation. Passing other data is an error that can cause a variety of problems, including strange printing or a General Protection Fault in Windows.


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