WINPRINT-GET-CAPABILITIES

This operation code determines whether or not a printer can print bitmaps.

Usage

CALL "WIN$PRINTER"
    USING WINPRINT-GET-CAPABILITIES, WINPRINT-DATA
    GIVING RESULT

Parameters

WINPRINT-DATA Group item defined in winprint.def as follows:
01 WINPRINT-DATA.
   03 WPRTDATA-SET-STD-FONT.
   03 WPRTDATA-CAPABILITIES REDEFINES
      WPRTDATA-SET-STD-FONT.
      05 WPRTDATA-BITMAPS-OK-FLAG      PIC 9.
         88 WPRTDATA-BITMAPS-OK        VALUE 1, FALSE ZERO.

Return Values

This operation returns information about the capabilities of the currently selected printer to WPRTDATA-CAPABILITIES. Currently, the only capability returned to this parameter is whether or not the printer can print bitmaps. If it can, WPRTDATA-BITMAPS-OK is true. Printers that do not use a raster technology (such as a pen plotter) cannot print bitmaps.