PLBWEB_APSPOOL Keyword
PLBWEB_APSPOOL={ 0 | 1 | 2 }
This optional keyword alters the behavior of the PRINT and SPLOPEN instructions. By default, PRINT and SPLOPEN instructions are performed at the host. This keyword allows the operations to be performed at the client.
Note that a leading exclamation mark (!) in the printer or spool file name indicates that the operation should be performed on the client regardless of this keyword setting. The GETMODE and SETMODE instructions also provide an interface to this runtime parameter.
The following table shows the print spooling operations based upon the keyword assigned value and a file or printer name that does not begin with an exclamation mark:
|
Value |
Meaning |
|
0 |
Printing and spooling instructions are performed on the host (default). |
|
1 |
Default PRINT instructions are performed at the client when the printer device is LPT(1-4): in the screen definition file. If the screen definition file is changed to specify some other file name for a print device, printing output is stored into the file at the server.
All SPOOL instructions for files occur at the client except if the file named is LPT(1-4):. If a spool file name LPT(1-4): is used, the print spooling operation is performed at the server. |
|
2 |
Print spooling instructions are performed at the client. |
Example:
PLBWEB_APSPOOL=1
See Also: PLBWEBSRV Keywords, Server Command Line
![]() |