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:
PRINTER may be used in CREATE, SETPROP, or GETPROP statements of a DATALIST object.
The GETITEM instruction to retrieve the item selected.
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.
If the PRINTER property is specified without an assignment, the action is the same as if PRINTER=1 were given.
{value} is a decimal number, a Numeric Variable, an Expression, or a keyword as defined in PLBEQU.INC. The supported values and keywords are:
|
Value |
Keyword |
The list is ... |
|
0 |
$OFF |
not filled with printer names. (default) |
|
1 |
$ON |
filled with printer names. |
When using the PL/B Web Server, this property is not supported.
See Also: Object Properties, Object IO Instructions, Object Definitions
![]() |