*APSPOOL (SETMODE)
8.7A, Clients Only
*APSPOOL={0 | 1 | 2}
The *APSPOOL control controls the PRINT and SPLOPEN redirection for a client program. By default, PRINT and SPLOPEN instructions are performed at the client. This control performs the operations at the server and is not valid with the PLBWIN runtime.
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 PLBCS_APSPOOL keyword may be specified the server's configuration file.
The table below shows the print spooling operations based upon the assigned value and a file or printer name that does not begin with an exclamation mark. {value} is a previously defined Numeric Variable that defines the redirection state and must be one of the following:
|
Value |
Meaning |
|
0 |
Printing and spooling instructions are performed on the client (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 sever. All SPOOL instructions for files occur at the server 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 client workstation. |
|
2 |
Print spooling instructions are performed at the server. |
See Also: List Controls (SETMODE), SETMODE
![]() |