WINPRINT-GET-SETTINGS-SIZE

This operation code retrieves the size of the buffer available in the current spooler configuration.

Usage

CALL "WIN$PRINTER"
    USING WINPRINT-GET-SETTINGS-SIZE
    GIVING RESULT

Return Values

This operation returns the number of bytes needed to hold the current spooler configuration.

Description

The spooler configuration includes the destination device, paper size, and page orientation. It does not include the current font selection. Use this operation to ensure that you have a large enough buffer when using the WINPRINT-GET-SETTINGS and WINPRINT-SET-SETTINGS operations.

Note: This operation is not supported in ACUCOBOL-GT'sThin Client environment.