


This operation code retrieves information about the destination device.
Usage
CALL "WIN$PRINTER"
USING WINPRINT-GET-SETTINGS
GIVING RESULT
Return Values
This operation returns the spooler's current configuration in the specified buffer. The return value is the number of bytes used in the buffer to hold the settings.
This buffer should be the second argument to WIN$PRINTER. The spooler's configuration includes information about the destination device, its paper size, and page orientation. It does not include information about the current font selection. The information stored in the buffer is binary data that corresponds to some internal structures used by Windows. This information should be left unchanged.