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, BUFFER
    GIVING RESULT

Description

BUFFER must contain the same spooler configuration data returned by an earlier call to WINPRINT-GET-SETTINGS. Passing other data is an error that can cause a variety of problems, including unexpected printout results or a General Protection Fault in Windows.

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

Note: This operation is not supported in Acucorp's Thin Client environment. Use the WINPRINT-SET-PRINTER operation instead.