*APSPOOL (GETMODE)


8.7A, Clients Only

*APSPOOL={value}

 

The *APSPOOL control reports 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 ignored by 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 keyword assigned value and a file or printer name that does not begin with an exclamation mark. {value} is a previously defined Numeric Variable that receives the redirection state. The value returned is 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 (GETMODE), GETMODE

 



PL/B Language Reference *ALLOWXPSDETECT (GETMODE) *BGCOLOR (GETMODE)