PRINTER Property


PLBCMP GUI Only

 

The PRINTER property instructs the runtime to fill the DATALIST with Window's print resource names. The property uses the following format:

PRINTER[={value}]

Note the following:

  1. PRINTER may be used in CREATE, SETPROP, or GETPROP statements of a DATALIST object.

  2. The GETITEM instruction to retrieve the item selected.

  3. A typical use of a DATALIST created the PRINTER property is to allow a selection of a Window's print device and have this printer name used in a SPLOPEN instruction. When the SPLOPEN is used in this manner, the SPLOPEN options 'W' and/or 'A' must be used.

  4. If the PRINTER property is specified without an assignment, the action is the same as if PRINTER=1 were given.

  5. {value} is a decimal number, a Numeric Variable, an Expression, or a keyword as defined in PLBEQU.INC. The supported values and keywords are:

  6.  

    Value

    Keyword

    The list is ...

    0

    $OFF

    not filled with printer names. (default)

    1

    $ON

    filled with printer names.

     

  7. When using the PL/B Web Server, this property is not supported.

 

See Also: Object Properties, Object IO Instructions, Object Definitions

 



PL/B Language Reference POS Property PUSHED Property