This operation code retrieves the size of the buffer available in the current spooler configuration.
CALL "WIN$PRINTER" USING WINPRINT-GET-SETTINGS-SIZE GIVING RESULT
This operation returns the number of bytes needed to hold the current spooler configuration.
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.